X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fgoogleapps.php;h=a09ecfd973b76d6f83ee8fd152b3bca268cfa168;hb=c124278e743b13724c99c08d890ea8cedaaf7534;hp=bad38368d5b75111bab2b5645601979200e8dab0;hpb=07d0a10adbc2578f9b85875e551a03b99d3650e8;p=platal.git 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); }