X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fgoogleapps.php;h=de3d6681ce3718e105f604ddc91d6799f8f9ee73;hb=0001ba7a34dc3b535407cb1b961781c3c69c0ccd;hp=0d868c751d719ddcfb49bd3ca0a47fcd50bb49d0;hpb=88cddbaa6de3733235749777e7e20aa2c51e884c;p=platal.git diff --git a/modules/googleapps.php b/modules/googleapps.php index 0d868c7..de3d668 100644 --- a/modules/googleapps.php +++ b/modules/googleapps.php @@ -1,6 +1,6 @@ sync_password) { - $res = XDB::query("SELECT password FROM auth_user_md5 WHERE user_id = {?}", $user->id()); - $account->set_password($res->fetchOneCell()); + $account->set_password($user->password()); $page->trigSuccess('Le mot de passe a été synchronisé.'); }