1
0
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:
Marc Alexander
2025-10-03 22:27:29 +02:00
parent f4700b0a38
commit 3dbc1b28b5
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -52,3 +52,4 @@ node_modules
.idea .idea
*.DS_Store* *.DS_Store*
/.vscode /.vscode
/.phpunit.result.cache

View File

@@ -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}}

View File

@@ -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)