Fixes GApps user creation when using password synchronization.
authorVincent Zanotti <vincent.zanotti@m4x.org>
Fri, 16 Jul 2010 17:38:00 +0000 (19:38 +0200)
committerVincent Zanotti <vincent.zanotti@m4x.org>
Fri, 16 Jul 2010 17:38:00 +0000 (19:38 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@m4x.org>
modules/googleapps.php

index e75ce5c..446d949 100644 (file)
@@ -102,7 +102,7 @@ class GoogleAppsModule extends PLModule
                 $password_sync = Post::b('password_sync');
                 $redirect_mails = Post::b('redirect_mails');
                 if ($password_sync) {
-                    $password = S::v('password');
+                    $password = $user->password();
                 } else {
                     $password = Post::v('response2');
                 }