Partial fix for issue 3588 (#3721)

This commit is contained in:
Dominik Kawka 2022-11-07 18:08:14 +00:00 committed by GitHub
parent b197531057
commit 25c66e6901
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,8 +208,8 @@ export const RealmSettingsLoginTab = ({
labelOff={t("common:off")}
isChecked={
realm.duplicateEmailsAllowed ||
realm.loginWithEmailAllowed ||
realm.registrationEmailAsUsername
(realm.loginWithEmailAllowed &&
realm.registrationEmailAsUsername)
}
onChange={(value) => {
updateSwitchValue({