commit | 07c720e276382eb0d7dba06fc3b22bdc676bda68 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Jan 04 20:56:46 2016 +0100 |
committer | Akron <nils@diewald-online.de> | Mon Jun 27 10:04:12 2016 +0200 |
tree | 7ebf02e579be77629f3433f8dc7795e6b7540381 | |
parent | 056901d46bbac13c6c93616da43a400935520bec [diff] [blame] |
Added login form
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm index ee19cd7..580ccf3 100644 --- a/lib/Kalamar.pm +++ b/lib/Kalamar.pm
@@ -124,6 +124,9 @@ my $match = $text->get('/:match_id'); $match->to('search#match_info')->name('match'); + $r->post('/login')->to('User#login'); + $r->post('/logout')->to('User#logout'); + # Default user is called 'korap' # $r->route('/user/:user/:collection') };