GEWIS / gewisweb

The website for GEmeenschap van Wiskunde en Informatica Studenten.

Home Page:https://gewis.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clarify "unable to log in" message

tomudding opened this issue · comments

Current behaviour

if (
$user->getMember()->getDeleted()
|| $user->getMember()->getHidden()
|| $user->getMember()->isExpired()
|| null === $user->getMember()->getEmail()
) {
return new Result(
Result::FAILURE_UNCATEGORIZED,
null,
[
$this->translator->translate('You cannot sign in to this account at this moment.'),
],
);
}

Desired behaviour

Should say to contact the secretary.

Steps to reproduce

N/A

Website version

c1c7664

What operating are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Other information

No response