X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fauth%2Fauth.inc.php;h=feed3d9125ed8b98cdd70f21088e612ed054ea1b;hb=f9301bff369ef2352bc1eb2c824919874e616066;hp=186506abc9a92e8aab3d7f1c83f0605fd844c46c;hpb=0aa0d3a82f108162d0d18e6d5c020ebdba4133ab;p=platal.git diff --git a/modules/auth/auth.inc.php b/modules/auth/auth.inc.php index 186506a..feed3d9 100644 --- a/modules/auth/auth.inc.php +++ b/modules/auth/auth.inc.php @@ -1,6 +1,6 @@ fetchOneCell(); + $min_username = XDB::fetchOneCell('SELECT email + FROM email_source_account + WHERE uid = {?} AND FIND_IN_SET(\'bestalias\', flags)', + S::i('uid')); $params .= gpex_prepare_param($val, $min_username, $tohash, $charset); } else if ($val == 'grpauth') { if (isset($_GET['group'])) {