Get back admin page
This commit is contained in:
parent
e24bad43f6
commit
318b11e7f3
@ -410,7 +410,9 @@ prefix '/domain' => sub {
|
||||
redirect '/domain/details/'. param('domain');
|
||||
}
|
||||
};
|
||||
any ['get', 'post'] => '/admin' => sub {
|
||||
};
|
||||
|
||||
any ['get', 'post'] => '/admin' => sub {
|
||||
|
||||
unless( session('login') )
|
||||
{
|
||||
@ -440,10 +442,9 @@ prefix '/domain' => sub {
|
||||
, allusers => { %allusers } };
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
prefix '/user' => sub {
|
||||
|
||||
get '/logout' => sub {
|
||||
|
Reference in New Issue
Block a user