diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-11-30 12:35:46 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-11-30 12:35:46 +0100 |
commit | 10b5c32d6486ab0884deda109b1e5947f7ec7662 (patch) | |
tree | b381c6e72c285f0dd24494f4d20904a762b5a627 | |
parent | d14415e37072dbe16077efd700aee5bd33707b54 (diff) | |
download | rpg-10b5c32d6486ab0884deda109b1e5947f7ec7662.tar.gz rpg-10b5c32d6486ab0884deda109b1e5947f7ec7662.tar.bz2 |
fixed merge error in inc/auth.php
merged the wrong change here
-rw-r--r-- | inc/auth.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/auth.php b/inc/auth.php index 54d2cd50a..9c458338d 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -782,21 +782,21 @@ function register() { // create substitutions for use in notification email $substitutions = array( - 'NEWUSER' => $_POST['login'], - 'NEWNAME' => $_POST['fullname'], - 'NEWEMAIL' => $_POST['email'], + 'NEWUSER' => $login, + 'NEWNAME' => $fullname, + 'NEWEMAIL' => $email, ); if(!$conf['autopasswd']) { msg($lang['regsuccess2'], 1); - notify('', 'register', '', $_POST['login'], false, $substitutions); + notify('', 'register', '', $login, false, $substitutions); return true; } // autogenerated password? then send him the password if(auth_sendPassword($login, $pass)) { msg($lang['regsuccess'], 1); - notify('', 'register', '', $_POST['login'], false, $substitutions); + notify('', 'register', '', $login, false, $substitutions); return true; } else { msg($lang['regmailfail'], -1); |