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

Этот коммит содержится в:
Joram Wilander
2017-01-09 14:22:11 -05:00
коммит произвёл Harrison Healey
родитель e938b71e60
Коммит e090104587

Просмотреть файл

@@ -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 = (