We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 112a360 commit 03f7ef1Copy full SHA for 03f7ef1
1 file changed
modules/go5auth/lib/Auth/Source/LoggedUser.php
@@ -44,7 +44,7 @@ public function authenticate(&$state)
44
$userInfo = $this->getUserInfo($accessToken);
45
46
if ($userInfo->data->attributes->status !== 'active' || $userInfo->data->attributes->{'login-enabled'} !== true) {
47
- header('HTTP/1.1 403 Forbidden');
+ header('HTTP/1.1 401 Unauthorized');
48
echo 'go5auth | error: inactive user';
49
exit;
50
}
0 commit comments