summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/controllers/AuthController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/dev/controllers/AuthController.php')
-rw-r--r--application/modules/dev/controllers/AuthController.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/application/modules/dev/controllers/AuthController.php b/application/modules/dev/controllers/AuthController.php
index 097417b..32783c9 100644
--- a/application/modules/dev/controllers/AuthController.php
+++ b/application/modules/dev/controllers/AuthController.php
@@ -1,6 +1,6 @@
<?php
-class AuthController extends Zend_Controller_Action
+class dev_AuthController extends Zend_Controller_Action
{
protected $personmapper;
private $db = null;
@@ -22,9 +22,9 @@ class AuthController extends Zend_Controller_Action
print_a('Already logged in.');
} else {
if (!isset($_POST["login"])){
- $loginForm = new Application_Form_AuthLogin();
+ $loginForm = new dev_Form_AuthLogin();
} else {
- $loginForm = new Application_Form_AuthLogin($_POST);
+ $loginForm = new dev_Form_AuthLogin($_POST);
if ($loginForm->isValid($_POST)) {
@@ -72,9 +72,9 @@ class AuthController extends Zend_Controller_Action
print_a('Already logged in.');
} else {
if (!isset($_POST["register"])){
- $registerForm = new Application_Form_AuthRegister();
+ $registerForm = new dev_Form_AuthRegister();
} else {
- $registerForm = new Application_Form_AuthRegister($_POST);
+ $registerForm = new dev_Form_AuthRegister($_POST);
if ($registerForm->isValid($_POST)) {
@@ -116,9 +116,9 @@ class AuthController extends Zend_Controller_Action
public function recoverpasswordAction()
{
if (!isset($_POST["recoverPassword"])){
- $recoverPasswordForm = new Application_Form_AuthRecoverPassword();
+ $recoverPasswordForm = new dev_Form_AuthRecoverPassword();
} else {
- $recoverPasswordForm = new Application_Form_AuthRecoverPassword($_POST);
+ $recoverPasswordForm = new dev_Form_AuthRecoverPassword($_POST);
# Wiederherstellung funktioniert noch nicht!!!
/*if ($recoverPasswordForm->isValid($_POST)) {
$recoverPasswordForm->getView()->url();
@@ -166,4 +166,4 @@ class AuthController extends Zend_Controller_Action
$this->_helper->redirector('login', 'auth');
}
}
-} \ No newline at end of file
+}