X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/09b2d7a937291e1e74d773a4227c4cfc63c30972..066c2178f99f8fb5c818bc453b49ba8341d440a6:/src/views/user-profile-panel/user-profile-panel-root.tsx

diff --git a/src/views/user-profile-panel/user-profile-panel-root.tsx b/src/views/user-profile-panel/user-profile-panel-root.tsx
index 82c20728..4572a352 100644
--- a/src/views/user-profile-panel/user-profile-panel-root.tsx
+++ b/src/views/user-profile-panel/user-profile-panel-root.tsx
@@ -23,7 +23,7 @@ import {
 import { ArvadosTheme } from 'common/custom-theme';
 import { User } from "models/user";
 import { DataTableDefaultView } from 'components/data-table-default-view/data-table-default-view';
-import { MY_ACCOUNT_VALIDATION } from "validators/validators";
+import { PROFILE_EMAIL_VALIDATION } from "validators/validators";
 import { USER_PROFILE_PANEL_ID } from 'store/user-profile/user-profile-actions';
 import { noop } from 'lodash';
 import { GroupsIcon } from 'components/icon/icon';
@@ -229,6 +229,7 @@ export const UserProfilePanelRoot = withStyles(styles)(
                                         name="prefs.profile.organization_email"
                                         component={TextField as any}
                                         disabled={!this.props.isAdmin && !this.props.isSelf}
+                                        validate={PROFILE_EMAIL_VALIDATION}
                                     />
                                 </Grid>
                                 <Grid item className={this.props.classes.gridItem} sm={6} xs={12}>
