Home
/
rss-reader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2726c5
)
stop displaying login code when logging in
author
xangelo
<git@xangelo.ca>
Mon, 19 Dec 2022 16:04:15 +0000
(11:04 -0500)
committer
xangelo
<git@xangelo.ca>
Mon, 19 Dec 2022 16:04:15 +0000
(11:04 -0500)
src/server.ts
patch
|
blob
|
history
diff --git
a/src/server.ts
b/src/server.ts
index e4c2db75e0ac20826f948cacde1433b3b7002162..3b76b918032992c0e2c2e2914ab99cc04ebd49fd 100644
(file)
--- a/
src/server.ts
+++ b/
src/server.ts
@@
-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) => {