Commit 5d6d1cb1 authored by Leigh B. Stoller's avatar Leigh B. Stoller

ProtoGeni change; no longer use local pubkeys for local users; use the

new nonlocal pubkeys table.
parent 09f5daf1
......@@ -2388,7 +2388,11 @@ COMMAND_PROTOTYPE(doaccounts)
pubkeys_res = mydb_query("select idx,pubkey "
" from user_pubkeys "
"where uid_idx='%s'",
2, row[17]);
2,
(didnonlocal ?
"nonlocal_user_pubkeys" :
"user_pubkeys"),
row[17]);
if (!pubkeys_res) {
error("ACCOUNTS: %s: DB Error getting keys\n", row[0]);
......
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