Change Password
-
-
+
+
+ {
+ this.setState({
+ currentSecretKeyVisible: !this.state.currentSecretKeyVisible
+ })
+ }}
+ className={
+ "toggle-password fa fa-eye " +
+ (this.state.currentSecretKeyVisible ? "toggled" : "")
+ }
+ />
+ {
+ this.setState({ currentSecretKey: e.target.value })
+ }}
+ id="currentSecretKey"
+ label="Current Secret Key"
+ name="currentSecretKey"
+ type={this.state.currentSecretKeyVisible ? "text" : "password"}
+ spellCheck="false"
+ required="required"
+ autoComplete="false"
+ align="ig-left"
+ />
+
+
+
+ {!serverInfo.userInfo.isIAMUser && (
+ {
+ this.setState({ newAccessKey: e.target.value })
+ }}
+ readonly={serverInfo.userInfo.isIAMUser}
+ />
)}
- className={
- "toggle-password fa fa-eye " +
- (this.state.secretKeyVisible ? "toggled" : "")
- }
- />
-
+
+ {
+ this.setState({
+ newSecretKeyVisible: !this.state.newSecretKeyVisible
+ })
+ }}
+ className={
+ "toggle-password fa fa-eye " +
+ (this.state.newSecretKeyVisible ? "toggled" : "")
+ }
+ />
+ {
+ this.setState({ newSecretKey: e.target.value })
+ }}
+ id="newSecretKey"
+ label="New Secret Key"
+ name="newSecretKey"
+ type={this.state.newSecretKeyVisible ? "text" : "password"}
+ spellCheck="false"
+ required="required"
+ autoComplete="false"
+ align="ig-left"
+ onChange={e => {
+ this.setState({ newSecretKey: e.target.value })
+ }}
+ />
+
-
-
+
+