mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 11:48:49 +02:00
Mark SAML users as so in database and disable local password changing then.
This commit is contained in:
parent
78ec0f1ea3
commit
97c3b9002a
15 changed files with 1414 additions and 1264 deletions
|
@ -32,6 +32,8 @@ class SamlUserFactory implements SamlUserFactoryInterface
|
|||
$user->setName($username);
|
||||
$user->setNeedPwChange(false);
|
||||
$user->setPassword('$$SAML$$');
|
||||
//This is a SAML user now!
|
||||
$user->setSamlUser(true);
|
||||
|
||||
$user->setSamlAttributes($attributes);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue