diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-06 02:33:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 02:33:12 +0200 |
commit | 88916865eec7812029ce9a150f6a7646ff09aea3 (patch) | |
tree | b9cf427d3c173cbe4029e5230eda6acc4fd61cf0 /api/assets | |
parent | Merge branch 'master' into 2fa (diff) | |
parent | Merge pull request #804 from MaddyUnderStars/feat/notesTable (diff) | |
download | server-88916865eec7812029ce9a150f6a7646ff09aea3.tar.xz |
Merge branch 'master' into 2fa
Diffstat (limited to 'api/assets')
-rw-r--r-- | api/assets/inline-plugins/autoRegister.js (renamed from api/assets/preload-plugins/autoRegister.js) | 0 | ||||
-rw-r--r-- | api/assets/inline-plugins/fosscord-login.js (renamed from api/assets/preload-plugins/fosscord-login.js) | 0 | ||||
-rw-r--r-- | api/assets/schemas.json | 27 |
3 files changed, 27 insertions, 0 deletions
diff --git a/api/assets/preload-plugins/autoRegister.js b/api/assets/inline-plugins/autoRegister.js index bb0b903d..bb0b903d 100644 --- a/api/assets/preload-plugins/autoRegister.js +++ b/api/assets/inline-plugins/autoRegister.js diff --git a/api/assets/preload-plugins/fosscord-login.js b/api/assets/inline-plugins/fosscord-login.js index 38f82200..38f82200 100644 --- a/api/assets/preload-plugins/fosscord-login.js +++ b/api/assets/inline-plugins/fosscord-login.js diff --git a/api/assets/schemas.json b/api/assets/schemas.json index 8f0f31be..c7aadd98 100644 --- a/api/assets/schemas.json +++ b/api/assets/schemas.json @@ -13828,6 +13828,33 @@ "TotpEnableSchema": { "type": "object", "properties": { + "username": { + "minLength": 1, + "maxLength": 100, + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": [ + "null", + "string" + ] + }, + "bio": { + "maxLength": 1024, + "type": "string" + }, + "accent_color": { + "type": "integer" + }, + "banner": { + "type": [ + "null", + "string" + ] + }, "password": { "type": "string" }, |