commit 08725fb99b349775407bc045f6d95ede0d7e179d
parent 1c81d899acb3148e5365f6112ea328e36b58d2df
Author: dankert <devnull@localhost>
Date: Mon, 14 Sep 2009 23:38:10 +0200
Benutzername nur alphanumerisch auswerten.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/actionClasses/IndexAction.class.php b/actionClasses/IndexAction.class.php
@@ -588,7 +588,7 @@ class IndexAction extends Action
die('login disabled');
$openid_user = $this->getRequestVar('openid_url' );
- $loginName = $this->getRequestVar('login_name' );
+ $loginName = $this->getRequestVar('login_name' ,'alphanum');
$loginPassword = $this->getRequestVar('login_password');
$newPassword1 = $this->getRequestVar('password1' );
$newPassword2 = $this->getRequestVar('password2' );
@@ -634,7 +634,7 @@ class IndexAction extends Action
else
{
// Anmeldung gescheitert.
- $this->addNotice('user',$loginName,'LOGIN_FAILED','error',array('name'=>$this->getRequestVar('login_name')) );
+ $this->addNotice('user',$loginName,'LOGIN_FAILED','error',array('name'=>$loginName) );
$this->addValidationError('login_name' ,'');
$this->addValidationError('login_password','');
}