You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code needs to be rewritten to throw a nice translated error to the end user.
Proposed fix prototype:
if ($e instanceof AccountInvalidException) {
$this->alerts->addMessageTranslated('danger','ACCOUNT_INVALID');
$this->logout(false);
$this->redirect('/'); // This needs to include bath path in the final version
}
New translation messages will need to be added for ACCOUNT_INVALID and ACCOUNT_DISABLED.
The text was updated successfully, but these errors were encountered:
This code needs to be rewritten to throw a nice translated error to the end user.
Proposed fix prototype:
New translation messages will need to be added for ACCOUNT_INVALID and ACCOUNT_DISABLED.
The text was updated successfully, but these errors were encountered: