Check if registrationEmailAsUsername is explicitly set to false
(#27139)
Closes #27137 Signed-off-by: Peter Keuter <github@peterkeuter.nl>
This commit is contained in:
parent
f95bfdf498
commit
0960114c03
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ export const UserForm = ({
|
|||
isDisabled={
|
||||
!user?.id &&
|
||||
!watchUsernameInput &&
|
||||
!realm.registrationEmailAsUsername
|
||||
realm.registrationEmailAsUsername === false
|
||||
}
|
||||
variant="primary"
|
||||
type="submit"
|
||||
|
|
Loading…
Reference in a new issue