Commit Graph

17 Commits

Author SHA1 Message Date
82ab0b963c Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
e4768141bc Simplify RedirectBackComponent into PreviousUrlComponent
Closes #12
2021-01-24 22:42:20 +01:00
efdd81b650 Auth: refactor to support multiple auth factors and add password factor 2020-11-11 19:30:30 +01:00
e37184e5ee Add user model to RequireAuth middlewares 2020-10-01 13:59:19 +02:00
79d704083a Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
b736f5f6cb Improve middleware definition and cleanup code 2020-09-25 22:15:57 +02:00
2effaf13eb Add AuthComponent.getAuthGuard() 2020-09-23 08:46:37 +02:00
fae5c68cd0 Auth: always populate req.models.user, thus reducing db requests 2020-08-30 17:31:51 +02:00
272688da26 Reduce the amount of SQL requests made for authentication 2020-07-28 12:10:29 +02:00
a79e2292d7 Greatly simplify authentication system 2020-07-25 10:33:20 +02:00
eb935bf52a Fix auth redirect_uri chain 2020-07-15 12:31:07 +02:00
634edda704 RedirectBackComponent: fix it and integrate it into NunjucksComponent 2020-07-15 10:24:01 +02:00
0e96a285ac Properly split routing in 2 steps: init, handle 2020-07-11 11:46:16 +02:00
c8157b7bb0 Add optional user approval mode 2020-06-16 15:28:44 +02:00
a15d496c53 Use formidable instead of multer 2020-06-14 21:47:18 +02:00
6026037aa8 Add support for authenticating user against custom request-proof matching 2020-06-14 11:59:02 +02:00
ad20894565 Add auth utils parts 2020-04-24 12:34:41 +02:00