Minor improvements to user login template to use new user auth api

This commit is contained in:
uriel 2008-10-22 09:20:50 +02:00
parent d6536ea079
commit 17a06ccfa3

View File

@ -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!'