mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Fix failing principal creation for new users using IMAP PAM
auth. Date format was not specified. Returned boolean TRUE instead of an actual date in the query.
This commit is contained in:
parent
ecbc9f6a4d
commit
0d6d43560a
@ -97,7 +97,7 @@ function IMAP_PAM_check($username, $password ){
|
||||
'username' => $username,
|
||||
'user_active' => true,
|
||||
'email' => $username . "@" . $c->authenticate_hook['config']['email_base'],
|
||||
'modified' => date(),
|
||||
'modified' => date('c'),
|
||||
'fullname' => $fullname
|
||||
));
|
||||
if ( ! $principal->Exists() ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user