Added admin test and logout function
This commit is contained in:
parent
b10daa469a
commit
a78de6ea8e
4 changed files with 106 additions and 0 deletions
|
@ -6,4 +6,12 @@ sub index {
|
|||
|
||||
}
|
||||
|
||||
sub auth_logout {
|
||||
my $c = shift;
|
||||
|
||||
$c->logout;
|
||||
$c->redirect_to('/');
|
||||
}
|
||||
|
||||
|
||||
1;
|
||||
|
|
Reference in a new issue