login: redirect to the current-user page
This commit is contained in:
parent
d589db2ed9
commit
725c9c2f81
1 changed files with 5 additions and 1 deletions
|
@ -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 => {}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue