Skip to content

Commit

Permalink
Hide Change eMail option for currently logged in user in admin area (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
DSchalla committed Jul 4, 2019
1 parent 85fccfb commit de9e0c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ export default class SystemUsersDropdown extends React.PureComponent {
text={Utils.localizeMessage('admin.user_item.resetPwd', 'Reset Password')}
/>
<MenuItemAction
show={!user.auth_service}
show={!user.auth_service && user.id !== this.state.userId}
onClick={this.handleResetEmail}
text={Utils.localizeMessage('admin.user_item.resetEmail', 'Update Email')}
/>
Expand Down

0 comments on commit de9e0c3

Please sign in to comment.