All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 4dac36a2 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor tweak to user lookup query.

parent ea3b65ef
/* /*
* EMULAB-COPYRIGHT * EMULAB-COPYRIGHT
* Copyright (c) 2000-2003, 2006, 2010 University of Utah and the Flux Group. * Copyright (c) 2000-2011 University of Utah and the Flux Group.
* All rights reserved. * All rights reserved.
*/ */
...@@ -318,7 +318,8 @@ doit(gzFile *infp) ...@@ -318,7 +318,8 @@ doit(gzFile *infp)
if (strcasecmp(user, "ROOT") == 0) if (strcasecmp(user, "ROOT") == 0)
continue; continue;
dbres = mydb_query("select uid_idx from users where uid='%s' ", dbres = mydb_query("select uid_idx from users where uid='%s' "
"and status!='archived' and status!='nonlocal'",
1, user); 1, user);
if (!dbres) { if (!dbres) {
......
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