From 0d6d43560a0147f26631a78a06241470f36ecd14 Mon Sep 17 00:00:00 2001 From: Daniel Aleksandersen Date: Sun, 8 Apr 2012 21:59:55 +0200 Subject: [PATCH] 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. --- inc/drivers_imap_pam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/drivers_imap_pam.php b/inc/drivers_imap_pam.php index decb5d57..c49356e9 100644 --- a/inc/drivers_imap_pam.php +++ b/inc/drivers_imap_pam.php @@ -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() ) {