Skip to content
Snippets Groups Projects
Commit 4c2f6858 authored by Timothee Besset's avatar Timothee Besset
Browse files

send the approve-ssh-key json payload back directly, the devkit client understands how to parse it

parent 57fae15b
No related branches found
No related tags found
No related merge requests found
......@@ -283,7 +283,7 @@ class DevkitHandler(BaseHTTPRequestHandler):
if "error" in approve_object:
self._send_headers(403, "text/plain")
self.wfile.write("approve-ssh-key:\n".encode())
self.wfile.write(approve_object["error"].encode())
self.wfile.write(approve_output.encode())
os.unlink(filename)
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment