mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
renable login after fail attempt (#4552)
Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
parent
4c31527832
commit
92f941a54c
7 changed files with 16 additions and 2 deletions
|
|
@ -87,6 +87,10 @@ const Login = ({ state, description }: LoginProps) => {
|
|||
openActivateAccountDialog();
|
||||
}, ServerTypes.ACCOUNT_AWAITING_ACTIVATION, []);
|
||||
|
||||
useReduxEffect(() => {
|
||||
resetSubmitButton();
|
||||
}, [ServerTypes.LOGIN_FAILED], []);
|
||||
|
||||
useReduxEffect(({ options: { hashedPassword } }) => {
|
||||
if (hostIdToRemember) {
|
||||
HostDTO.get(hostIdToRemember).then(host => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue