From f311e7ab18d2949b0101060e3c17067d621cb875 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Wed, 22 Feb 2012 05:48:21 +0100 Subject: [PATCH] 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 --- modules/googleapps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.1.4