From e090104587d07ae4b204044e910de93bce590cfb Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Mon, 9 Jan 2017 14:22:11 -0500
Subject: Allow resetting password regardless of signin/signup settings (#5025)

---
 webapp/components/admin_console/admin_team_members_dropdown.jsx | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'webapp/components/admin_console/admin_team_members_dropdown.jsx')

diff --git a/webapp/components/admin_console/admin_team_members_dropdown.jsx b/webapp/components/admin_console/admin_team_members_dropdown.jsx
index 0019dfbc0..ee9e53f6c 100644
--- a/webapp/components/admin_console/admin_team_members_dropdown.jsx
+++ b/webapp/components/admin_console/admin_team_members_dropdown.jsx
@@ -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 = (
-- 
cgit v1.2.3-1-g7c22

