Commit 07447323 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

If a user came in via the GENI api before using the portal, they will

not be in the holding project, so add them.
parent cde21422
......@@ -353,6 +353,20 @@ function Do_VerifySpeaksfor()
else {
# Ug, if this geni user came in on the regular geni api first,
# we have a user record but they might not be a member of the
# Cloudlab holding project.
$project = Project::Lookup("CloudLab");
if (! $project->IsMember($this_user, $ignored)) {
list ($loginhash, $logincrc) =
DOLOGIN_MAGIC($this_user->uid(), $this_user->uid_idx(), null, 0, 1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment