Merge pull request #37 from Pear-Trading/TBSliver/Login-Info

Added extra info to login return
This commit is contained in:
Tom Bloor 2017-08-25 16:15:16 +01:00 committed by GitHub
commit df7f1de1a6
5 changed files with 31 additions and 34 deletions

View file

@ -72,7 +72,7 @@ sub post_account {
} elsif ( defined $user_result->organisation_id ) {
$display_name = $user_result->organisation->name;
} else {
return undef;
return;
}
return $c->render( json => {