3
0

Get back admin page

This commit is contained in:
Julien Simonet 2014-01-26 21:05:19 +01:00
parent e24bad43f6
commit 318b11e7f3

View File

@ -410,7 +410,9 @@ prefix '/domain' => sub {
redirect '/domain/details/'. param('domain'); redirect '/domain/details/'. param('domain');
} }
}; };
any ['get', 'post'] => '/admin' => sub { };
any ['get', 'post'] => '/admin' => sub {
unless( session('login') ) unless( session('login') )
{ {
@ -440,10 +442,9 @@ prefix '/domain' => sub {
, allusers => { %allusers } }; , allusers => { %allusers } };
} }
} }
};
}; };
prefix '/user' => sub { prefix '/user' => sub {
get '/logout' => sub { get '/logout' => sub {