Skip to content

Commit be319e9

Browse files
authored
Remove UserLockedException catch.
`UserLockedException` extends `AuthenticationException` and provides the same message. These lines were useless.
1 parent e62c675 commit be319e9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/code/Magento/Customer/Controller/Account/LoginPost.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,6 @@ public function execute()
204204
'This account is not confirmed. <a href="%1">Click here</a> to resend confirmation email.',
205205
$value
206206
);
207-
} catch (UserLockedException $e) {
208-
$message = __(
209-
'The account sign-in was incorrect or your account is disabled temporarily. '
210-
. 'Please wait and try again later.'
211-
);
212207
} catch (AuthenticationException $e) {
213208
$message = __(
214209
'The account sign-in was incorrect or your account is disabled temporarily. '

0 commit comments

Comments
 (0)