commit a2ac492d02a3b2c0739e4a3c13d11d93fbdbd5c6
parent ef37105662c273e32b79f1bd135e0d13cad39969
Author: uriel@engel.se.cat-v.org <unknown>
Date: Wed, 22 Oct 2008 09:20:50 +0200
Minor improvements to user login template to use new user auth api
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/_users/login.tpl b/lib/_users/login.tpl
@@ -1,6 +1,6 @@
%{
-get_user
-if(! ~ $#logged_user 0)
+
+if(check_user)
echo 'You are logged in as' $logged_user
if not if (~ $REQUEST_METHOD POST)
echo 'Login failed!'