correct password reset disabled binding
authorJosh Morel <morel.josh@hotmail.com>
Sun, 19 Aug 2018 14:11:08 +0000 (10:11 -0400)
committerChocobozzz <me@florianbigard.com>
Mon, 20 Aug 2018 08:35:06 +0000 (10:35 +0200)
client/src/app/reset-password/reset-password.component.html

index 20e62d0b7ba6ba89a27c85a1b09e322fec3347c3..8398be09148ef7d696d2600cad05674ea8492e0e 100644 (file)
@@ -26,6 +26,6 @@
       </div>
     </div>
 
-    <input type="submit" i18n-value value="Reset my password" [disabled]="!form.valid && isConfirmedPasswordValid()">
+    <input type="submit" i18n-value value="Reset my password" [disabled]="!form.valid || !isConfirmedPasswordValid()">
   </form>
 </div>