Remove "Current Password" input if mx_pass exists
If the user is PWLU, do not show "Current Password" field in ChangePassword and when setting a new password, use the cached password.
This commit is contained in:
parent
5151264f60
commit
8725ef3863
4 changed files with 37 additions and 16 deletions
|
@ -216,6 +216,7 @@ export default React.createClass({
|
|||
enableLabs={this.props.config.enableLabs}
|
||||
referralBaseUrl={this.props.config.referralBaseUrl}
|
||||
teamToken={this.props.teamToken}
|
||||
cachedPassword={this.props.cachedPassword}
|
||||
/>;
|
||||
if (!this.props.collapse_rhs) right_panel = <RightPanel opacity={this.props.sideOpacity}/>;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue