Commit Graph

5 Commits

Author SHA1 Message Date
Chocobozzz ae2abfd3ae
Introduce plugins command 2021-07-20 15:27:17 +02:00
kontrollanten 2805cb7cb6 server/mw/oauth: res.loc.auth to true upon auth
Setting res.locals.authenticated explicity to
true makes it's more clear whether the req is
authenticated when using optionalAuthenticate
middlware.
2020-12-08 10:40:08 +01:00
kontrollanten f17faefb30 plugins: add optional authentication for routes 2020-12-08 10:40:08 +01:00
Rigel Kent 2d53be0267
replace numbers with typed http status codes (#3409) 2020-12-07 14:32:36 +01:00
Chocobozzz 5e2b2e2775
Add ability for plugins to add custom routes 2020-04-10 15:23:25 +02:00