commit 1b71d85660bd70be63e36facd4d7bd0f0c4ba389
parent 27800e1b1643aa2d95b1c954396fc75e140255fb
Author: Jan Dankert <devnull@localhost>
Date: Fri, 1 Mar 2013 22:57:21 +0100
Fix: Perspektive setzen, wenn Autologin erfolgreich ist.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/action/IndexAction.class.php b/action/IndexAction.class.php
@@ -72,11 +72,12 @@ class IndexAction extends Action
$user = User::loadWithName( $username );
Session::setUser($user);
Logger::info('auto-login for user '.$username);
+ $this->setPerspective('start');
}
catch( ObjectNotFoundException $e )
{
Logger::warn('Username for autologin does not exist: '.$username);
- $this->setPerspective('start');
+ $this->setPerspective('login');
}
}
else