projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/platal-1.0.0'
[platal.git]
/
modules
/
auth
/
auth.inc.php
diff --git
a/modules/auth/auth.inc.php
b/modules/auth/auth.inc.php
index
62e94ef
..
383745a
100644
(file)
--- a/
modules/auth/auth.inc.php
+++ b/
modules/auth/auth.inc.php
@@
-34,7
+34,7
@@
function gpex_make($chlg, $privkey, $datafields, $charset)
$user =& S::user();
if ($user->hasProfile()) {
$user =& S::user();
if ($user->hasProfile()) {
- /
/ XXX: Transition table for auth.
+ /
* Transition table for authentification. */
$personnal_data = $user->profile()->data();
$personnal_data['matricule'] = $personnal_data['xorg_id'];
$personnal_data['matricule_ax'] = $personnal_data['ax_id'];
$personnal_data = $user->profile()->data();
$personnal_data['matricule'] = $personnal_data['xorg_id'];
$personnal_data['matricule_ax'] = $personnal_data['ax_id'];
@@
-60,7
+60,7
@@
function gpex_make($chlg, $privkey, $datafields, $charset)
} else if ($val == 'username') {
$res = XDB::query("SELECT alias
FROM aliases
} else if ($val == 'username') {
$res = XDB::query("SELECT alias
FROM aliases
- WHERE id = {?} AND FIND_IN_SET('bestalias', flags)",
+ WHERE
u
id = {?} AND FIND_IN_SET('bestalias', flags)",
S::i('uid'));
$min_username = $res->fetchOneCell();
$params .= gpex_prepare_param($val, $min_username, $tohash, $charset);
S::i('uid'));
$min_username = $res->fetchOneCell();
$params .= gpex_prepare_param($val, $min_username, $tohash, $charset);