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 30b54d7d authored by Leigh B. Stoller's avatar Leigh B. Stoller

Look for revoked flag instead of valid.

parent 4809cd65
......@@ -251,7 +251,7 @@ class MyServer(SSL.ForkingSSLServer, SimpleXMLRPCDispatcher):
#
def checkcert(self, uid_idx, serial):
res = DBQueryFatal("select idx from user_sslcerts "
"where uid_idx=%s and idx=%s and status='valid'",
"where uid_idx=%s and idx=%s and revoked is null ",
(str(uid_idx), serial))
return len(res)
......
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