fixup: return the user entity on login

This commit is contained in:
Graham Christensen 2021-04-28 18:30:35 -04:00
parent a34f23f7e6
commit fdb6e7dd97

View file

@ -40,7 +40,7 @@ sub login_POST {
$self->status_found(
$c,
location => $c->uri_for("current-user"),
entity => {}
entity => $c->model("DB::Users")->find($c->user->username)
);
}