forked from lix-project/hydra
login: redirect to the current-user page
This commit is contained in:
parent
d589db2ed9
commit
725c9c2f81
|
@ -37,7 +37,11 @@ sub login_POST {
|
||||||
accessDenied($c, "Bad username or password.")
|
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