summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-07-26 08:40:27 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-07-26 08:40:27 +0200
commit49cd1ed0c3598adf2be1b42e09281137eb41cc2b (patch)
treeb8fe15221b53c33ae31b48396a3db348d2f34c75 /inc/auth.php
parent503f46aa4d2482c6f52bb15b0b655f88b94b1d45 (diff)
downloadrpg-49cd1ed0c3598adf2be1b42e09281137eb41cc2b.tar.gz
rpg-49cd1ed0c3598adf2be1b42e09281137eb41cc2b.tar.bz2
fix AUTH_USER_CHANGE event in profile updates
the triggered event did not allow event handlers to change the passed data
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 2bdc3eb00..e224b2fb5 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -1080,7 +1080,7 @@ function updateprofile() {
}
}
- if($result = $auth->triggerUserMod('modify', array($INPUT->server->str('REMOTE_USER'), $changes))) {
+ if($result = $auth->triggerUserMod('modify', array($INPUT->server->str('REMOTE_USER'), &$changes))) {
// update cookie and session with the changed data
if($changes['pass']) {
list( /*user*/, $sticky, /*pass*/) = auth_getCookie();