Added giving user info on login
This commit is contained in:
parent
4c2bfd0ab3
commit
1d782a4e84
1 changed files with 5 additions and 2 deletions
|
@ -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'),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue