Commit 1930e14d authored by Mark Tearle's avatar Mark Tearle

Add api key to response from register

parent 8aa922af
......@@ -203,7 +203,7 @@ $leaf->post('/register', function () use($leaf) {
// Email API key
email_api_key($username, $api_key);
$leaf->response->json(["message" => $username." has been added and email sent"],200);
$leaf->response->json(["message" => "API key ".$api_key. " for " .$username." has been added and email sent"],200);
});
$leaf->post('/update-api-key', function () use($leaf) {
......
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