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