Add password on confirmation when changing email (#4503)

* Add email confirmation

* Confirm password only if email was changed

Co-authored-by: Omar López <zomars@me.com>
This commit is contained in:
Joe Au-YeungandOmar López authored and GitHub committed 2022-09-17 23:27:25 +01:00
1 parent 2ef8e230c5
commit cf32287109
4 files changed
+120 -46

No files matched your search

+1 -1
View File
@@ -269,7 +269,7 @@ export const PasswordField = forwardRef<HTMLInputElement, InputFieldProps>(funct
<Tooltip content={textLabel}>
<button
className="absolute bottom-0 right-3 h-9 text-gray-900"
className="absolute bottom-2 right-3 h-9 text-gray-900"
type="button"
onClick={() => toggleIsPasswordVisible()}>
{isPasswordVisible ? (