Page MenuHomePhabricator

D5788.diff
No OneTemporary

D5788.diff

diff --git a/web/settings/password-change-modal.js b/web/settings/password-change-modal.js
--- a/web/settings/password-change-modal.js
+++ b/web/settings/password-change-modal.js
@@ -115,7 +115,12 @@
type="submit"
variant="filled"
onClick={this.onSubmit}
- disabled={inputDisabled}
+ disabled={
+ inputDisabled ||
+ this.state.currentPassword.length === 0 ||
+ this.state.newPassword.length === 0 ||
+ this.state.confirmNewPassword.length === 0
+ }
>
Change Password
</Button>

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 2:16 AM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2496113
Default Alt Text
D5788.diff (689 B)

Event Timeline