summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-02-20 20:26:05 +0100
committerChristopher Smith <chris@jalakai.co.uk>2013-02-24 12:39:02 +0000
commit9507770d8c13e47b975bf35fe25264448da3f28a (patch)
tree2f2f816e5e426ccf935f4f00a2fea7a31a1f1a2b /inc/auth.php
parente8baa2279f46cfaaf18a54d75c1329d266a4ca47 (diff)
downloadrpg-9507770d8c13e47b975bf35fe25264448da3f28a.tar.gz
rpg-9507770d8c13e47b975bf35fe25264448da3f28a.tar.bz2
Fix remaining missing $INPUT uses FS#2577
This adds $INPUT in all places where it was still missing and available. $INPUT is now also used in places where using $_REQUEST/... was okay in order to make the code consistent.
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 92a56e163..68b6b438d 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -92,7 +92,7 @@ function auth_setup() {
// apply cleaning
if (true === $auth->success) {
- $_REQUEST['u'] = $auth->cleanUser($_REQUEST['u']);
+ $INPUT->set('u', $auth->cleanUser($INPUT->str('u')));
}
if($INPUT->str('authtok')) {