76 Commits

Author SHA1 Message Date
murdle
93a316cb6e api v6 fixes 2026-01-04 03:30:53 +02:00
murdle
ec5bafbe0b change login response to be more like discord 2025-12-20 20:02:04 +02:00
murdle
a424a8a4d2 add user id in loginresponse 2025-12-20 19:37:06 +02:00
doesnm
9757997e5d add fingerprint endpoint 2025-10-20 21:51:58 +03:00
Rory&
e52c237326 Reorganise schemas a little bit 2025-10-15 08:04:23 +02:00
Rory&
d647f882b1 Pass mergeParams: true to new router calls due to express behavior change 2025-09-30 07:14:10 +02:00
Rory&
1e6ed06da1 Add first half of cloud attachment uploads 2025-09-29 18:38:06 +02:00
Puyodead1
6ff8eec722
prevent re-verifying email 2025-09-05 18:35:50 -04:00
Zane Helton
c0f9c22e67 Add validation to date_of_birth registration field
Resolves: #1020
2025-06-28 17:08:00 +10:00
Emma [it/its]@Rory&
126a881f31 Prettier 2025-04-09 16:38:03 +02:00
MathMan05
d267b08ab5
stupid fix 2025-04-03 12:53:03 -05:00
MathMan05
99cc009670
fix password reset bug
Not sure if this'll work, but made a pull so y'all could see the issue
2025-04-03 12:52:11 -05:00
root
dda930d501 Added in date wrap on generate-registration-tokens.ts 2025-03-19 09:36:13 -07:00
dank074
f5d6394c38 run prettier 2024-11-19 14:19:40 -06:00
dank074
f499507698 turn off eslint rules causing issues 2024-11-13 19:05:54 -06:00
TomatoCake
98c1b93133 Send 204 regardless of user existance 2024-08-21 20:50:42 +02:00
TomatoCake
95bbccb6f7 Same error message if username too long 2024-08-17 18:24:38 +02:00
TomatoCake
8e28f2539c Consistent username length requirement 2024-08-17 15:39:55 +02:00
Puyodead1
629451bbfd
fix incorrect error field 2024-07-08 22:10:50 -04:00
Puyodead1
6a4fd5fbdb
add new right for creating registration tokens 2023-12-14 22:09:25 -05:00
Madeline
2cf3833499
remove INVALID_PASSWORD error response. close #1090 2023-08-13 15:18:42 +10:00
Madeline
d18584f8e9
Refactor email sending + remove email verification if mail sending is not set up 2023-08-12 15:36:29 +10:00
Madeline
c0614b18c3
fix min password length check 2023-08-12 00:20:36 +10:00
Puyodead1
033e2108e7
Fix some linting warnings 2023-08-06 22:51:34 -04:00
Madeline
f1f68c3d31
refactor checkToken 2023-07-28 09:26:18 +10:00
ngn
e774a9256b made it prettier 2023-06-11 15:17:03 +03:00
ngn
41f14b3ad8 Make sure min password length is not null 2023-06-11 13:36:51 +03:00
ngn
3dcabc57f6 Making the error message dynamic 2023-06-10 22:17:50 +03:00
ngn13
9efe160340
making min password length configurable
Co-authored-by: Puyodead1 <puyodead@proton.me>
2023-06-10 22:13:44 +03:00
ngn
f006ddc735 Implemented password length check 2023-06-10 20:51:21 +03:00
Puyodead1
4824e14661
oapi: fix a few response types in auth 2023-04-13 15:41:49 -04:00
Puyodead1
e68819d97a
oapi: add missing 2fa types to login 2023-04-13 15:41:49 -04:00
Puyodead1
860b9d583e
oapi: finish users 2023-04-13 15:39:31 -04:00
Puyodead1
787de50140
backfill missing query params 2023-04-13 15:24:37 -04:00
Puyodead1
6b3a3b750f
fixing lots of openapi crap 2023-04-13 15:20:10 -04:00
Puyodead1
a567ca3f51
auth routes 2023-04-13 14:58:53 -04:00
Madeline
095cbf7b20
Remove ALL fosscord mentions 2023-03-31 15:52:33 +11:00
Madeline
8b2faf0b18
SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline
64e747a4d2
SPACEBAR 2023-03-31 02:05:02 +11:00
Puyodead1
002480df9d
fix totp using wrong settings key 2023-03-21 22:32:55 -04:00
Madeline
4d06b86d7b
Fix UserSettings relation being in select rather than relations 2023-03-16 11:31:24 +11:00
Madeline
deb0da524e Rename password_reset config to passwordReset as it messes with config key generation 2023-02-25 20:31:10 +11:00
Madeline
048459b75f Merge branch 'master' of github.com:fosscord/fosscord-server 2023-02-24 23:49:07 +11:00
Madeline
51fe1b8955 send required_action in gateway for when email verification is required 2023-02-24 23:46:52 +11:00
Puyodead1
a22cdaaac6 fix a few issues with emails 2023-02-24 07:45:29 -05:00
Puyodead1
91e9d60040 first batch of requested changes 2023-02-24 06:52:01 -05:00
Puyodead1
ed38d74b3e don't return token on register if verification required 2023-02-24 06:36:57 -05:00
Puyodead1
05453ec148 implement password reset 2023-02-24 01:54:10 -05:00
Puyodead1
a78e13073f don't print anything if email send is successful 2023-02-24 00:10:50 -05:00
Puyodead1
ada821070b add right to resend verification emails 2023-02-23 22:52:24 -05:00