From 9999f46c78f69f0637a53773f2c69fb9640fb84d Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sat, 25 Feb 2023 15:43:11 +0100 Subject: [PATCH] Auth: allow public access to set_user() method --- src/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth.php b/src/Auth.php index 67ddf99..467e6f4 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -265,7 +265,7 @@ class Auth { * @param string $method Method used to authenticate the user * @return void */ - private static function set_user($user, $method) { + public static function set_user($user, $method) { Log :: debug( 'User %s authenticated using method %s and backend %s', $user->username, $method, $user->backend);