auth: Use req. name "get_cert" alias "get"

parent c1a390c3
......@@ -221,7 +221,7 @@ def process_req_auth(sn, sid, digest, auth_type, r):
def process_request(req, r):
try:
check_request(req)
if req["type"] == "get_cert":
if req["type"] == "get_cert" or req["type"] == "get":
return process_req_get(req["sn"],
req["sid"],
req["csr"],
......
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