Improve the not authorized error message
This commit is contained in:
parent
44c7813ac1
commit
3bff3b2b32
@ -146,7 +146,7 @@ class LoginAction extends Action
|
|||||||
|
|
||||||
// success!
|
// success!
|
||||||
if (!common_set_user($user)) {
|
if (!common_set_user($user)) {
|
||||||
$this->serverError(_('Error setting user.'));
|
$this->serverError(_('Error setting user. You are probably not authorized.'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user