1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-12-03 10:59:13 -05:00
Commit Graph

28 Commits

Author SHA1 Message Date
179bed8924
Fix login body verification 2018-07-29 11:00:14 -04:00
456cac6b17
Verify the request before attempting to canonicalize it 2018-07-29 10:57:27 -04:00
cc84fdb20c
Rewrite auth router to use middleware for verification 2018-07-28 18:22:48 -04:00
9227fa428d
Add checks for bad requests in auth.js to prevent 500 2018-07-28 12:53:49 -04:00
c9e250a68e
Change exp field to expires 2018-07-27 14:23:23 -04:00
094a45b6be
Change requireAuth to only export itself 2018-07-27 14:08:02 -04:00
a8acf85052
Change wrap to only export itself 2018-07-26 21:52:47 -04:00
7441eaaf02
Make use of username/displayname field consistent throughout api 2018-07-26 19:40:42 -04:00
8bfec46001
Replace constants with configurable values 2018-07-26 17:34:47 -04:00
d0b26a7021
Make requireAuth() add request variables 2018-07-26 13:15:54 -04:00
0db0caf422
Add ping api route and test for valid session 2018-07-25 21:34:16 -04:00
2e7ca23d9f
Rewrite User tests to be async 2018-07-25 18:45:38 -04:00
ce99433afc
Properly async-ify registration code 2018-07-25 01:45:05 -04:00
c0f924bb59
Fix username in use check and whitespace sanitization 2018-07-24 19:37:49 -04:00
098865cbbf
Fix file permissions 2018-01-15 17:13:35 -05:00
26cc9bf6ef
Refactor all base auth routes, allowing for case insensitivity and unicode usernames. 2018-01-15 15:29:32 -05:00
f64fb3526b
Remove unneeded fs and path modules 2018-01-14 10:36:40 -05:00
86b7de2039
Update file permissions 2018-01-13 17:20:14 -05:00
Jack
5917e75dda
Small auth fixes 2017-10-21 15:10:55 -04:00
Jack
f1e9e7e78b Work on stuff 2017-10-18 13:31:08 -04:00
Jack
3bba0a7f53
Add fallback cookie auth method 2017-10-14 17:49:11 -04:00
Jack
f14fac18ec
Strip tags from usernames and update tests 2017-10-14 15:15:27 -04:00
Jack
aa615cd570
Fix bug where user scope wouldn't be set in the JWT 2017-10-13 16:16:26 -04:00
Jack
e01051f97f
Fix auth code 2017-10-12 17:25:34 -04:00
Jack
fac4dfe5f6
Clean up and parallelize auth code 2017-10-12 12:50:02 -04:00
Jack
53bf056bc5
Add auth to login and start panel 2017-10-11 20:26:07 -04:00
Jack
e6a09bbe40
Add invite codes for registering 2017-10-11 12:55:46 -04:00
Jack
8251900309
Work on stuff... 2017-10-11 10:15:19 -04:00