commit | 189b35901087af2831887456120253909c26c839 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Mon Jan 04 20:56:46 2016 +0100 |
committer | Akron <nils@diewald-online.de> | Thu Apr 27 20:11:25 2017 +0200 |
tree | 1656fbfa0ed5a9727e071b710a990d07f4a080ef | |
parent | 9b9d09f2e95e9371998026cfb5297386f318e9a4 [diff] [blame] |
Added login form Change-Id: Ia297cfffdeb289363d9fee4e6751e9afa6a3f9d8
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm index 4dfb35d..9623a81 100644 --- a/lib/Kalamar.pm +++ b/lib/Kalamar.pm
@@ -128,6 +128,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') };