stop displaying login code when logging in
[rss-reader.git] / src / server.ts
index e4c2db75e0ac20826f948cacde1433b3b7002162..3b76b918032992c0e2c2e2914ab99cc04ebd49fd 100644 (file)
@@ -108,9 +108,7 @@ apiPost('/login', {auth: false}, async (req, res): Promise<any> => {
 
   // this should actually just email the link and return some text 
   // about what a great person you are.
-  return {
-    login: login_link
-  }
+  return `Your login code has been emailed to you.`;
 });
 
 apiGet('/app', {auth: false}, async (req, res) => {