mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
re-enable element before sending message
This commit is contained in:
parent
9cd48c068d
commit
a1233e5437
|
@ -31,10 +31,10 @@ export default function (window: Window, $: JQueryStatic,
|
||||||
}
|
}
|
||||||
|
|
||||||
function onFirstFactorFailure(err: Error) {
|
function onFirstFactorFailure(err: Error) {
|
||||||
|
$("input,button").removeAttr("disabled");
|
||||||
|
$("form").css("opacity", 1);
|
||||||
notifier.error(UserMessages.AUTHENTICATION_FAILED);
|
notifier.error(UserMessages.AUTHENTICATION_FAILED);
|
||||||
$(UISelectors.PASSWORD_FIELD_ID).select();
|
$(UISelectors.PASSWORD_FIELD_ID).select();
|
||||||
$("form").css("opacity", 1);
|
|
||||||
$("input,button").removeAttr("disabled");
|
|
||||||
$(UISelectors.SIGN_IN_BUTTON_ID).text("Sign in");
|
$(UISelectors.SIGN_IN_BUTTON_ID).text("Sign in");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user