Minor improvements to user login template to use new user auth api
This commit is contained in:
parent
d6536ea079
commit
17a06ccfa3
@ -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!'
|
||||
|
Loading…
Reference in New Issue
Block a user