From: Vincent Zanotti Date: Wed, 22 Feb 2012 04:48:21 +0000 (+0100) Subject: Fixes the code used to synchronize passwords back to Google Apps; X-Git-Tag: xorg/1.1.5~39 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f311e7ab18d2949b0101060e3c17067d621cb875;p=platal.git Fixes the code used to synchronize passwords back to Google Apps; current code results in null being passed to gappsd, preventing any synchronization from happening. Signed-off-by: Vincent Zanotti --- diff --git a/modules/googleapps.php b/modules/googleapps.php index bad3836..a09ecfd 100644 --- a/modules/googleapps.php +++ b/modules/googleapps.php @@ -70,7 +70,7 @@ class GoogleAppsModule extends PLModule S::assert_xsrf_token(); if (Post::v('pwsync') == 'sync') { $account->set_password_sync(true); - $account->set_password(S::v('password')); + $account->set_password($user->password()); } else { $account->set_password_sync(false); }