fmt
This commit is contained in:
parent
4acf5d0931
commit
cd318a9eaf
@ -71,8 +71,8 @@ export default function Login(props: PageProps<Extract<KcContext, { pageId: "log
|
|||||||
const label = !realm.loginWithEmailAllowed
|
const label = !realm.loginWithEmailAllowed
|
||||||
? "username"
|
? "username"
|
||||||
: realm.registrationEmailAsUsername
|
: realm.registrationEmailAsUsername
|
||||||
? "email"
|
? "email"
|
||||||
: "usernameOrEmail";
|
: "usernameOrEmail";
|
||||||
|
|
||||||
const autoCompleteHelper: typeof label = label === "usernameOrEmail" ? "username" : label;
|
const autoCompleteHelper: typeof label = label === "usernameOrEmail" ? "username" : label;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user