summary refs log tree commit diff
path: root/src/api/routes/auth (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add new right for creating registration tokensPuyodead12023-12-141-1/+1
|
* remove INVALID_PASSWORD error response. close #1090Madeline2023-08-131-2/+10
|
* Refactor email sending + remove email verification if mail sending is not set upMadeline2023-08-122-9/+4
|
* fix min password length checkMadeline2023-08-121-3/+2
|
* Fix some linting warningsPuyodead12023-08-061-1/+0
|
* refactor checkTokenMadeline2023-07-282-5/+2
|
* made it prettierngn2023-06-111-9/+14
|
* Make sure min password length is not nullngn2023-06-111-2/+3
|
* Making the error message dynamicngn2023-06-101-1/+1
|
* making min password length configurablengn132023-06-101-1/+1
| | | Co-authored-by: Puyodead1 <puyodead@proton.me>
* Implemented password length checkngn2023-06-101-0/+8
|
* oapi: fix a few response types in authPuyodead12023-04-132-3/+7
|
* oapi: add missing 2fa types to loginPuyodead12023-04-131-1/+1
|
* oapi: finish usersPuyodead12023-04-132-2/+2
|
* backfill missing query paramsPuyodead12023-04-131-0/+12
|
* fixing lots of openapi crapPuyodead12023-04-138-20/+20
|
* auth routesPuyodead12023-04-1312-40/+141
|
* Remove ALL fosscord mentionsMadeline2023-03-3112-24/+24
|
* SPACEBARMadeline2023-03-3112-12/+12
|
* SPACEBARMadeline2023-03-3112-10/+46
|
* fix totp using wrong settings keyPuyodead12023-03-211-1/+1
|
* Fix UserSettings relation being in `select` rather than `relations`Madeline2023-03-163-5/+6
|
* Rename password_reset config to passwordReset as it messes with config key ↵Madeline2023-02-251-1/+1
| | | | generation
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-02-241-1/+1
|\
| * fix a few issues with emailsPuyodead12023-02-241-1/+1
| |
* | send required_action in gateway for when email verification is requiredMadeline2023-02-241-11/+0
|/
* first batch of requested changesPuyodead12023-02-242-44/+67
|
* don't return token on register if verification requiredPuyodead12023-02-241-0/+11
|
* implement password resetPuyodead12023-02-243-1/+150
|
* don't print anything if email send is successfulPuyodead12023-02-241-2/+1
|
* add right to resend verification emailsPuyodead12023-02-231-21/+25
|
* fix: email verificationPuyodead12023-02-232-15/+15
|
* fix: verification required for login not working correctlyPuyodead12023-02-231-0/+1
|
* config: require account verificationPuyodead12023-02-232-6/+13
|
* fix linting errorsPuyodead12023-02-231-11/+4
|
* Fix template rendering and use verify email templatePuyodead12023-02-231-1/+1
| | | | email html is weird, some stuff isn't supported.
* Email verification worksPuyodead12023-02-232-3/+69
| | | | | | | | - Added /auth/verify to authenticated route whitelist - Updated /auth/verify to properly mark a user as verified, return a response, and fix expiration time check - Implemented /auth/verify/resend - Moved verification email sending to a helper method - Fixed VerifyEmailSchema requiring captcha_key
* add missing copyright headersPuyodead12023-02-231-0/+18
|
* send email verificationPuyodead12023-02-231-0/+45
|
* various fixes for webauthn (#973)Puyodead12023-02-031-7/+10
|
* check pw and other auth before letting users undisableMadeline2023-01-311-19/+19
|
* Implement WebAuthn (#967)Puyodead12023-01-302-7/+161
| | | | | | | | | * implement webauthn * code review --------- Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Add ESLint (#941)Madeline2023-01-204-10/+10
| | | | | | | * Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
* Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-187-0/+126
| | | | | | | | | * Add script to automatically add license to each file * Add license preamble to each file. * Fix existing preamble detection breaking due to line endings. Git :( * Prevent license from being added to code with other licenses
* Add back include_url param to reg tokensMadeline2023-01-101-3/+11
|
* PrettierMadeline2023-01-052-27/+62
|
* Use adjusted email in /auth/loginMadeline2023-01-021-1/+1
|
* Revert "Don't let users undisable their accounts"Madeline2023-01-011-6/+8
| | | | This reverts commit cd84412c92c447826ebb2668295d46956618d962.
* Don't let users undisable their accountsMadeline2023-01-011-8/+6
|
* Reg tokens bypass other restrictionsMadeline2022-12-191-21/+22
|
* Registration tokensMadeline2022-12-192-1/+47
|
* Add register ratelimitTheArcaneBrony2022-12-191-1/+15
|
* Remove some old test logs that expose info to consoleTheArcaneBrony2022-12-182-3/+0
|
* PrettierMadeline2022-09-266-241/+363
|
* Move schemas to /src/util/schemasMadeline2022-09-264-53/+4
|
* Add logout endpointMadeline2022-09-261-0/+16
|
* Refactor to mono-repo + upgrade packagesMadeline2022-09-255-0/+395