login working

This commit is contained in:
counterweight 2025-02-17 01:18:43 +01:00
parent 48b12b71c2
commit a35fa7d0dc
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
9 changed files with 333 additions and 7 deletions

View file

@ -26,9 +26,17 @@ class ExpiredError extends Error {
}
}
class ForbiddenError extends Error {
constructor(message) {
super(message);
this.name = 'ForbiddenError';
}
}
module.exports = {
AlreadyUsedError,
InvalidSignatureError,
NotFoundError,
ExpiredError,
ForbiddenError: ForbiddenError,
};