From: xangelo Date: Mon, 19 Dec 2022 16:04:15 +0000 (-0500) Subject: stop displaying login code when logging in X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=dbeade58f6997ce9de78a3aad26587d57ed30682;p=rss-reader.git stop displaying login code when logging in --- diff --git a/src/server.ts b/src/server.ts index e4c2db7..3b76b91 100644 --- a/src/server.ts +++ b/src/server.ts @@ -108,9 +108,7 @@ apiPost('/login', {auth: false}, async (req, res): Promise => { // 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) => {