login: redirect to the current-user page

This commit is contained in:
Graham Christensen 2021-04-27 21:34:22 -04:00 committed by Cole Helbling
parent d589db2ed9
commit 725c9c2f81
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

View file

@ -37,7 +37,11 @@ sub login_POST {
accessDenied($c, "Bad username or password.")
}
currentUser_GET($self, $c);
$self->status_found(
$c,
location => $c->uri_for("current-user"),
entity => {}
);
}