Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleted and disabled accounts throw a 500 error with no explanation to user #510

Closed
Netrilix opened this issue Jan 28, 2016 · 1 comment
Closed
Assignees
Labels
frontend The frontend interface user experience The one using UF

Comments

@Netrilix
Copy link
Contributor

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.

@Netrilix Netrilix self-assigned this Jan 28, 2016
@Netrilix Netrilix added frontend The frontend interface user experience The one using UF labels Jan 28, 2016
@alexweissman alexweissman modified the milestone: 0.3.1.13 Hotfix Jan 31, 2016
@alexweissman
Copy link
Member

What do they see right now? WSOD?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend The frontend interface user experience The one using UF
Projects
None yet
Development

No branches or pull requests

2 participants