From a54c569929011ace49ba56ec9ed0bda2e2cc53db Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 9 Jul 2019 01:17:28 +0200 Subject: [PATCH] fix missing role info when creating user --- Auth/SamlAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Auth/SamlAuth.php b/Auth/SamlAuth.php index 48c58de..daaebc6 100644 --- a/Auth/SamlAuth.php +++ b/Auth/SamlAuth.php @@ -100,7 +100,7 @@ public function authenticate(){ if (!empty($username) && !empty($email)) { //Create user by having email as username - $this->userInfo = new SamlUserProvider($username, $email, $fullname); + $this->userInfo = new SamlUserProvider($username, $email, $fullname, 'app-user'); return true; } else {