File tree Expand file tree Collapse file tree
packages/fxa-settings/src/components/Settings/PageSecondaryEmailAdd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { AuthUiErrorNos } from 'fxa-settings/src/lib/auth-errors/auth-errors';
1616import { getErrorFtlId } from '../../../lib/error-utils' ;
1717import { MfaGuard } from '../MfaGuard' ;
1818import { useErrorHandler } from 'react-error-boundary' ;
19+ import VerifiedSessionGuard from '../VerifiedSessionGuard' ;
1920
2021export const PageSecondaryEmailAdd = ( _ : RouteComponentProps ) => {
2122 usePageViewEvent ( 'settings.emails' ) ;
@@ -95,6 +96,7 @@ export const PageSecondaryEmailAdd = (_: RouteComponentProps) => {
9596 return (
9697 < Localized id = "add-secondary-email-page-title" attrs = { { title : true } } >
9798 < FlowContainer title = "Secondary email" subtitle = { subtitleText } >
99+ < VerifiedSessionGuard onDismiss = { goHome } onError = { goHome } />
98100 < form
99101 onSubmit = { ( ev ) => {
100102 ev . preventDefault ( ) ;
You can’t perform that action at this time.
0 commit comments