Allow resetting password regardless of signin/signup settings (#5025)

This commit is contained in:
Joram Wilander
2017-01-09 14:22:11 -05:00
committed by Harrison Healey
parent e938b71e60
commit e090104587

View File

@@ -432,10 +432,6 @@ export default class AdminTeamMembersDropdown extends React.Component {
);
}
if (global.window.mm_config.EnableSignInWithEmail !== 'true') {
passwordReset = null;
}
let makeDemoteModal = null;
if (this.props.user.id === me.id) {
const title = (