hedgedoc/src/api/utils
Philip Molares 1a96900224 feat: add LoginEnabledGuard and RegistrationEnabledGuard
These guards check if the login or registration are enabled in the config. If so the guarded method is executed, if not the client will get the HTTP Error 400 Forbidden as an answer

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-17 00:00:00 +02:00
..
descriptions.ts Docs: Add description for common http codes 2021-03-20 10:18:42 +01:00
fullapi-decorator.ts Enforce import order with prettier 2021-08-29 18:45:46 +02:00
login-enabled.guard.ts feat: add LoginEnabledGuard and RegistrationEnabledGuard 2021-09-17 00:00:00 +02:00
markdownbody-decorator.ts Enforce import order with prettier 2021-08-29 18:45:46 +02:00
registration-enabled.guard.ts feat: add LoginEnabledGuard and RegistrationEnabledGuard 2021-09-17 00:00:00 +02:00
request-user.decorator.ts Public API: Introduce RequestUser decorator 2021-09-04 17:05:38 +02:00