mirror of https://github.com/BOINC/boinc.git
login token lookup RPC: return team name also
This commit is contained in:
parent
45a8dce80f
commit
97ae786d3d
|
@ -40,7 +40,12 @@ function main() {
|
|||
echo "<login_token_reply>
|
||||
<weak_auth>$auth</weak_auth>
|
||||
<user_name>$name</user_name>
|
||||
</login_token_reply>
|
||||
";
|
||||
if ($user->teamid && $team == BoincTeam::lookup_id($user->teamid)) {
|
||||
$name = htmlentities($team->name);
|
||||
echo " <team_name>$name</team_name>\n";
|
||||
}
|
||||
echo "</login_token_reply>
|
||||
";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue