diff --git a/front/src/components/auth/Settings.vue b/front/src/components/auth/Settings.vue index bbd4ec8c21dc6f2321eb1169d56048a327460ce9..046492fd7004e266998cd5d4e4ae2780d2896166 100644 --- a/front/src/components/auth/Settings.vue +++ b/front/src/components/auth/Settings.vue @@ -80,7 +80,7 @@ <password-input field-id="new-password-field" required v-model="new_password" /> </div> <dangerous-button - :class="['ui', {'loading': isLoading}, 'warning', 'button']" + :class="['ui', {'loading': isLoading}, {disabled: !new_password || !old_password}, 'warning', 'button']" :action="submitPassword"> <translate translate-context="Content/Settings/Button.Label">Change password</translate> <p slot="modal-header"><translate translate-context="Popup/Settings/Title">Change your password?</translate></p>