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

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 => {}
);
}