forked from lix-project/hydra
fixup: return the user entity on login
This commit is contained in:
parent
a34f23f7e6
commit
fdb6e7dd97
|
@ -40,7 +40,7 @@ sub login_POST {
|
||||||
$self->status_found(
|
$self->status_found(
|
||||||
$c,
|
$c,
|
||||||
location => $c->uri_for("current-user"),
|
location => $c->uri_for("current-user"),
|
||||||
entity => {}
|
entity => $c->model("DB::Users")->find($c->user->username)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue