Make /login give a proper JSON response again

This commit is contained in:
Eelco Dolstra 2013-11-06 16:10:27 +01:00
parent bb2976693c
commit 4fb3d67f49

View file

@ -30,7 +30,7 @@ sub login_POST {
accessDenied($c, "Bad username or password.")
if !$c->authenticate({username => $username, password => $password});
$self->status_no_content($c);
currentUser_GET($self, $c);
}