Commit 1b50c21c authored by Leigh B Stoller's avatar Leigh B Stoller

Add user's initial portal to admin tab.

parent 69bbfcec
......@@ -90,6 +90,10 @@
</span>
</td>
</tr>
<tr>
<td>Portal</td>
<td><%= fields.portal %></td>
</tr>
<% if (fields.nonlocal_id != "") { %>
<tr>
<td>Nonlocal ID</td>
......
<?php
#
# Copyright (c) 2000-2019 University of Utah and the Flux Group.
# Copyright (c) 2000-2020 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -230,7 +230,8 @@ function Do_AccountDetails()
if (ISADMIN()) {
$results["uid_idx"] = $target_user->uid_idx();
$results["portal"] = $target_user->portal();
$results["portal"] = ($target_user->portal() ?
$target_user->portal() : "classic");
$results["bound_portal"] = $target_user->bound_portal() ? true:false;
$results["created"] = DateStringGMT($target_user->created());
$results["status"] = $target_user->status();
......
Markdown is supported
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