mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-12 15:34:31 +02:00
[ticket/15085] Reload ACL after HTTP authentication and update gitignore
PHPBB-15085
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -52,3 +52,4 @@ node_modules
|
|||||||
.idea
|
.idea
|
||||||
*.DS_Store*
|
*.DS_Store*
|
||||||
/.vscode
|
/.vscode
|
||||||
|
/.phpunit.result.cache
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
{"version":1,"defects":[],"times":{"phpbb\\feed\\event\\http_auth_subscriber_test::test_subscriber_events":0.006,"phpbb\\feed\\event\\http_auth_subscriber_test::test_non_feed_route_skipped":0.005,"phpbb\\feed\\event\\http_auth_subscriber_test::test_http_auth_disabled":0.001,"phpbb\\feed\\event\\http_auth_subscriber_test::test_user_already_logged_in":0.001}}
|
|
@@ -100,6 +100,8 @@ class http_auth_subscriber implements EventSubscriberInterface
|
|||||||
|
|
||||||
if ($auth_result['status'] == LOGIN_SUCCESS)
|
if ($auth_result['status'] == LOGIN_SUCCESS)
|
||||||
{
|
{
|
||||||
|
// Reload ACL for the newly logged-in user
|
||||||
|
$this->auth->acl($this->user->data);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if ($auth_result['status'] == LOGIN_ERROR_ATTEMPTS)
|
else if ($auth_result['status'] == LOGIN_ERROR_ATTEMPTS)
|
||||||
|
Reference in New Issue
Block a user