Auth: allow public access to set_user() method

This commit is contained in:
Benjamin Renard 2023-02-25 15:43:11 +01:00
parent a343cfa9c7
commit 9999f46c78

View file

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