Added giving user info on login

This commit is contained in:
Finn 2017-07-26 15:29:38 +01:00
parent 4c2bfd0ab3
commit 1d782a4e84

View file

@ -83,6 +83,9 @@ sub post_login {
return $c->render( json => {
success => Mojo::JSON->true,
session_key => $session_key,
full_name => $user_result->('full_name'),
full_name => $user_result->('display_name'),
full_name => $user_result->('postcode'),
});
}
}