add date_created for provisioned users

add date_created then new users are provisioned via shibbauth
pull/3726/head
Fredrik Pettai 2018-09-29 22:04:15 +02:00
parent 184a329e08
commit 7d0f605ae1
2 changed files with 3 additions and 2 deletions

View File

@ -137,7 +137,8 @@ class ApacheShibbAuthenticate extends BaseAuthenticate {
'nids_sid' => ((int)$nidsMax[0][0]['nidsMax'])+1,
'newsread' => time(),
'role_id' => $roleId,
'change_pw' => 0
'change_pw' => 0,
'date_created' => time()
));
// save user

View File

@ -1,4 +1,4 @@
#Client SSO Authentication (Shibboleth based) for CakePHP
# Client SSO Authentication (Shibboleth based) for CakePHP
This plugin enables CakePHP applications to use Single Sign-On to authenticate its users. It gets the information given by Apache environment variables.