Make /login give a proper JSON response again
This commit is contained in:
parent
bb2976693c
commit
4fb3d67f49
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue