Merge pull request #37 from Pear-Trading/TBSliver/Login-Info
Added extra info to login return
This commit is contained in:
commit
df7f1de1a6
5 changed files with 31 additions and 34 deletions
|
@ -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 => {
|
||||
|
|
Reference in a new issue