Skip to content
Merged

v2.13.7 #5276

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
c9f4537
Fixed #4715 by updating certbot-dns-cloudns
Dec 15, 2025
0b464ac
Add french locale
GedasMirak Nov 17, 2025
afb196e
Update German translations
blinkerfluessigkeit Jan 14, 2026
7ee9a3c
Merge pull request #4952 from GedasMirak/develop
jc21 Jan 14, 2026
9ea6fee
Merge pull request #4930 from blinkerfluessigkeit/lang-de
jc21 Jan 14, 2026
4185665
Add Turkish locale and help documentation
Dec 12, 2025
bb0a50e
chore: trigger CI
Dec 15, 2025
4e412f1
fix: resolve lint issues in IntlProvider and HelpDoc
Jan 16, 2026
131e5fe
fix: remove duplicate locales in lang-list
Jan 16, 2026
7bcc34d
add dependabot config
Lokowitz Jan 18, 2026
50cf275
split directories
Lokowitz Jan 18, 2026
9ffced2
Merge pull request #5038 from orhnplt/feature/turkish-locale
jc21 Jan 18, 2026
7747db9
Merge pull request #5087 from xJayMorex/update-cloudns
jc21 Jan 18, 2026
fe31625
Add Hungarian language support and help documentation
toviszsolt Jan 20, 2026
4ed17fe
Update frontend/src/locale/src/hu.json
toviszsolt Jan 20, 2026
fa20c7d
fix: update Hungarian translations for consistency and clarity.
toviszsolt Jan 20, 2026
1bb2925
Bump lodash-es from 4.17.21 to 4.17.23 in /frontend
dependabot[bot] Jan 21, 2026
2deb544
Bump lodash from 4.17.21 to 4.17.23 in /backend
dependabot[bot] Jan 21, 2026
ef69189
fix: update (2) Hungarian translations for consistency and clarity.
toviszsolt Jan 22, 2026
32a716b
Merge pull request #5206 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 25, 2026
d2e346c
Merge pull request #5203 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 25, 2026
a0ef0d9
Bump lodash from 4.17.21 to 4.17.23 in /test
dependabot[bot] Jan 25, 2026
727bc94
Bump lodash from 4.17.21 to 4.17.23 in /frontend
dependabot[bot] Jan 25, 2026
59b0e75
Merge pull request #5200 from toviszsolt/lang-hungarian
jc21 Jan 25, 2026
3308a30
Merge pull request #5185 from Lokowitz/add-dependa-config
jc21 Jan 25, 2026
69f9031
Bump actions/stale from 9 to 10
dependabot[bot] Jan 25, 2026
ad2e4c8
Bump @biomejs/biome in /backend in the dev-patch-updates group
dependabot[bot] Jan 25, 2026
8d35644
Bump jsonwebtoken in /backend in the prod-patch-updates group
dependabot[bot] Jan 25, 2026
5f19f71
Bump nodemon from 2.0.22 to 3.1.11 in /backend
dependabot[bot] Jan 25, 2026
03a82cd
Bump cypress from 14.5.4 to 15.9.0 in /test
dependabot[bot] Jan 25, 2026
32cabc0
Bump vite-tsconfig-paths from 5.1.4 to 6.0.5 in /frontend
dependabot[bot] Jan 25, 2026
48acbd3
Merge pull request #5231 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
a78039b
Merge pull request #5226 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
71deabc
Merge pull request #5219 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
d09cb28
Merge pull request #5225 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
b96e932
Merge pull request #5218 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
d5d222e
Merge pull request #5217 from NginxProxyManager/dependabot/github_act…
jc21 Jan 26, 2026
124737b
Bump knex from 2.4.2 to 3.1.0 in /backend
dependabot[bot] Jan 26, 2026
2d77412
Bump the dev-minor-updates group in /frontend with 6 updates
dependabot[bot] Jan 26, 2026
16a301f
Merge pull request #5227 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
74360cc
Merge pull request #5205 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
df06eb6
Merge pull request #5204 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
4af0a96
Cypress module conversion and updated chalk
jc21 Jan 26, 2026
eaf9f5a
Linting/sorting for lang
jc21 Jan 26, 2026
19e654b
Merge pull request #5228 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 26, 2026
28982b8
Updated config files for cypress
jc21 Jan 27, 2026
9b7af47
Cypress ...
jc21 Jan 27, 2026
f509e0b
Missing export
jc21 Jan 27, 2026
ef7f444
Update docker image to match js version
jc21 Jan 27, 2026
7c3c59c
Fix cypress logger
jc21 Jan 27, 2026
7ca48f8
Ugh cypress changed their exec result format.
jc21 Jan 27, 2026
8ea8286
More cypress fixes
jc21 Jan 27, 2026
1b84b8a
Bump the prod-patch-updates group across 1 directory with 5 updates
dependabot[bot] Jan 27, 2026
0f46337
Bump the dev-patch-updates group across 1 directory with 3 updates
dependabot[bot] Jan 27, 2026
ef6391f
Bump @quobix/vacuum in /test in the prod-minor-updates group
dependabot[bot] Jan 27, 2026
2a9c1df
Bump chalk from 4.1.2 to 5.6.2 in /backend
dependabot[bot] Jan 27, 2026
c50f0a1
Bump the prod-minor-updates group in /backend with 4 updates
dependabot[bot] Jan 27, 2026
9e67205
Merge pull request #5234 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 27, 2026
cd01a2e
Merge pull request #5233 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 27, 2026
7e092e2
Merge pull request #5222 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 27, 2026
0aad939
Merge pull request #5221 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 27, 2026
c1ef3a3
Merge pull request #5238 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 27, 2026
b6f421c
Update biome schema
jc21 Jan 28, 2026
df81c84
Bump @apidevtools/swagger-parser from 10.1.1 to 12.1.0 in /backend
dependabot[bot] Jan 28, 2026
9580903
Merge pull request #5239 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 28, 2026
534afe6
Implement suggestion from #5216 hopefully rectifying https -> forced …
jc21 Jan 28, 2026
f9f7434
Bump the prod-patch-updates group across 1 directory with 4 updates
dependabot[bot] Jan 28, 2026
58dda94
Bump axios in /test in the prod-patch-updates group
dependabot[bot] Jan 28, 2026
24ff3c7
Bump happy-dom in /frontend in the dev-minor-updates group
dependabot[bot] Jan 28, 2026
3ed3ec0
Bump express from 4.22.0 to 5.2.1 in /backend
dependabot[bot] Jan 28, 2026
469d72a
Bump tar from 7.5.6 to 7.5.7 in /test
dependabot[bot] Jan 29, 2026
17f6050
Merge pull request #5235 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 29, 2026
ed0b230
Merge pull request #5250 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 29, 2026
eddca35
Merge pull request #5247 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 29, 2026
98fe622
Merge pull request #5246 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 29, 2026
c69bd18
Merge pull request #5243 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 29, 2026
a99cde9
Bump bcrypt from 5.1.1 to 6.0.0 in /backend
dependabot[bot] Jan 29, 2026
a169e11
Bump the prod-minor-updates group in /frontend with 4 updates
dependabot[bot] Jan 29, 2026
3825785
Merge pull request #5244 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 30, 2026
47981f0
Merge pull request #5230 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 30, 2026
00b58f7
Bump archiver from 5.3.2 to 7.0.1 in /backend
dependabot[bot] Jan 30, 2026
bad3eac
Merge pull request #5245 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Jan 30, 2026
58d47cd
Bump @apidevtools/json-schema-ref-parser in /backend
dependabot[bot] Jan 30, 2026
8532e75
Bump body-parser from 1.20.4 to 2.2.2 in /backend
dependabot[bot] Jan 30, 2026
83d9935
Add pt-PT lang
maghuro Dec 5, 2025
8c8005f
Add Portuguese language support to HelpDoc
maghuro Jan 31, 2026
a73d54f
Add Portuguese (European) language support
maghuro Jan 31, 2026
4ad1af5
Remove duplicate locale entries and keep pt-PT
maghuro Jan 31, 2026
3db0237
Add Portuguese language support to IntlProvider
maghuro Jan 31, 2026
c515815
Remove merge conflict markers from lang-list.json
maghuro Jan 31, 2026
de3b543
Bump @quobix/vacuum in /test in the prod-patch-updates group
dependabot[bot] Feb 2, 2026
7cc2bfb
Bump react-intl from 7.1.14 to 8.1.2 in /frontend
dependabot[bot] Feb 2, 2026
127008c
Merge pull request #5265 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 3, 2026
714bebb
Merge pull request #5263 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 3, 2026
9cf1d00
Merge pull request #5257 from maghuro/add-pt-pt
jc21 Feb 3, 2026
218fadd
Merge pull request #5254 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 3, 2026
8708a3b
Bump the dev-patch-updates group across 1 directory with 3 updates
dependabot[bot] Feb 3, 2026
f09876d
Merge pull request #5252 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 3, 2026
c2fddee
Merge pull request #5264 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 3, 2026
60404b6
Bump pg in /backend in the prod-minor-updates group
dependabot[bot] Feb 3, 2026
7f0c5d4
Bump happy-dom in /frontend in the dev-minor-updates group
dependabot[bot] Feb 3, 2026
6f0931b
Bump react-intl in /frontend in the prod-patch-updates group
dependabot[bot] Feb 3, 2026
e7a1f84
Merge pull request #5271 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 3, 2026
4f8037d
Merge pull request #5270 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 3, 2026
8014f34
Merge pull request #5269 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 3, 2026
bb4b5fb
Bump otplib from 12.0.1 to 13.2.1 in /backend
dependabot[bot] Feb 3, 2026
f900668
Fix v13 otplib upgrades
jc21 Feb 3, 2026
3e3d08b
Change dependabot interval to weekly
jc21 Feb 3, 2026
2bcf5e9
Bump @biomejs/biome in /backend in the dev-patch-updates group
dependabot[bot] Feb 3, 2026
a4bc8d5
Bump @biomejs/biome in /frontend in the dev-patch-updates group
dependabot[bot] Feb 3, 2026
65cf8ce
Merge pull request #5248 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 4, 2026
3c54413
Bump mysql2 in /backend in the prod-patch-updates group
dependabot[bot] Feb 4, 2026
6ba4021
Update biome.json to match viome version
jc21 Feb 4, 2026
c3173d8
Update biome.json to match viome version
jc21 Feb 4, 2026
0d62c26
Fix linting
jc21 Feb 4, 2026
cdde543
Merge pull request #5273 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 4, 2026
c6fba1c
Merge pull request #5272 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 4, 2026
4833dcb
Merge pull request #5237 from NginxProxyManager/dependabot/npm_and_ya…
jc21 Feb 4, 2026
eab38d8
Bump version
jc21 Feb 4, 2026
ac4efd2
Merge branch 'master' into develop
jc21 Feb 4, 2026
c88de65
Fix #5274 2fa backup codes not validating properly
jc21 Feb 5, 2026
77662b4
Use better-sqlite3 package for sqlite databases
jc21 Feb 5, 2026
d19f5c1
Fix upgrade problem with otplib existing secrets
jc21 Feb 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 104 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/backend"
schedule:
interval: "weekly"
groups:
dev-patch-updates:
dependency-type: "development"
update-types:
- "patch"
dev-minor-updates:
dependency-type: "development"
update-types:
- "minor"
prod-patch-updates:
dependency-type: "production"
update-types:
- "patch"
prod-minor-updates:
dependency-type: "production"
update-types:
- "minor"

- package-ecosystem: "npm"
directory: "/frontend"
schedule:
interval: "weekly"
groups:
dev-patch-updates:
dependency-type: "development"
update-types:
- "patch"
dev-minor-updates:
dependency-type: "development"
update-types:
- "minor"
prod-patch-updates:
dependency-type: "production"
update-types:
- "patch"
prod-minor-updates:
dependency-type: "production"
update-types:
- "minor"

- package-ecosystem: "npm"
directory: "/docs"
schedule:
interval: "weekly"
groups:
dev-patch-updates:
dependency-type: "development"
update-types:
- "patch"
dev-minor-updates:
dependency-type: "development"
update-types:
- "minor"
prod-patch-updates:
dependency-type: "production"
update-types:
- "patch"
prod-minor-updates:
dependency-type: "production"
update-types:
- "minor"

- package-ecosystem: "npm"
directory: "/test"
schedule:
interval: "weekly"
groups:
dev-patch-updates:
dependency-type: "development"
update-types:
- "patch"
dev-minor-updates:
dependency-type: "development"
update-types:
- "minor"
prod-patch-updates:
dependency-type: "production"
update-types:
- "patch"
prod-minor-updates:
dependency-type: "production"
update-types:
- "minor"

- package-ecosystem: "docker"
directory: "/docker"
schedule:
interval: "weekly"
groups:
updates:
update-types:
- "patch"
- "minor"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
- uses: actions/stale@v10
with:
stale-issue-label: 'stale'
stale-pr-label: 'stale'
Expand Down
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.13.6
2.13.7
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center">
<img src="https://nginxproxymanager.com/github.png">
<br><br>
<img src="https://img.shields.io/badge/version-2.13.6-green.svg?style=for-the-badge">
<img src="https://img.shields.io/badge/version-2.13.7-green.svg?style=for-the-badge">
<a href="https://hub.docker.com/repository/docker/jc21/nginx-proxy-manager">
<img src="https://img.shields.io/docker/stars/jc21/nginx-proxy-manager.svg?style=for-the-badge">
</a>
Expand Down
2 changes: 1 addition & 1 deletion backend/biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.14/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
2 changes: 1 addition & 1 deletion backend/certbot/dns-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"cloudns": {
"name": "ClouDNS",
"package_name": "certbot-dns-cloudns",
"version": "~=0.6.0",
"version": "~=0.7.0",
"dependencies": "",
"credentials": "# Target user ID (see https://www.cloudns.net/api-settings/)\n\tdns_cloudns_auth_id=1234\n\t# Alternatively, one of the following two options can be set:\n\t# dns_cloudns_sub_auth_id=1234\n\t# dns_cloudns_sub_auth_user=foobar\n\n\t# API password\n\tdns_cloudns_auth_password=password1",
"full_plugin_name": "dns-cloudns"
Expand Down
54 changes: 34 additions & 20 deletions backend/internal/2fa.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import crypto from "node:crypto";
import bcrypt from "bcrypt";
import { authenticator } from "otplib";
import { createGuardrails, generateSecret, generateURI, verify } from "otplib";
import errs from "../lib/error.js";
import authModel from "../models/auth.js";
import internalUser from "./user.js";
Expand All @@ -27,7 +27,6 @@ const generateBackupCodes = async () => {
};

const internal2fa = {

/**
* Check if user has 2FA enabled
* @param {number} userId
Expand Down Expand Up @@ -72,8 +71,12 @@ const internal2fa = {
startSetup: async (access, userId) => {
await access.can("users:password", userId);
const user = await internalUser.get(access, { id: userId });
const secret = authenticator.generateSecret();
const otpauth_url = authenticator.keyuri(user.email, APP_NAME, secret);
const secret = generateSecret();
const otpauth_url = generateURI({
issuer: APP_NAME,
label: user.email,
secret: secret,
});
const auth = await internal2fa.getUserPasswordAuth(userId);

// ensure user isn't already setup for 2fa
Expand All @@ -85,7 +88,8 @@ const internal2fa = {
const meta = auth.meta || {};
meta.totp_pending_secret = secret;

await authModel.query()
await authModel
.query()
.where("id", auth.id)
.andWhere("user_id", userId)
.andWhere("type", "password")
Expand All @@ -112,8 +116,8 @@ const internal2fa = {
throw new errs.ValidationError("No pending 2FA setup found");
}

const valid = authenticator.verify({ token: code, secret });
if (!valid) {
const result = await verify({ token: code, secret });
if (!result.valid) {
throw new errs.ValidationError("Invalid verification code");
}

Expand Down Expand Up @@ -156,12 +160,12 @@ const internal2fa = {
throw new errs.ValidationError("2FA is not enabled");
}

const valid = authenticator.verify({
const result = await verify({
token: code,
secret: auth.meta.totp_secret,
});

if (!valid) {
if (!result.valid) {
throw new errs.AuthError("Invalid verification code");
}

Expand Down Expand Up @@ -194,20 +198,30 @@ const internal2fa = {
return false;
}

// Try TOTP code first
const valid = authenticator.verify({
token,
secret,
});

if (valid) {
return true;
// Try TOTP code first, if it's 6 chars. it will throw errors if it's not 6 chars
// and the backup codes are 8 chars.
if (token.length === 6) {
const result = await verify({
token,
secret,
// These guardrails lower the minimum length requirement for secrets.
// In v12 of otplib the default minimum length is 10 and in v13 it is 16.
// Since there are 2fa secrets in the wild generated with v12 we need to allow shorter secrets
// so people won't be locked out when upgrading.
guardrails: createGuardrails({
MIN_SECRET_BYTES: 10,
}),
});

if (result.valid) {
return true;
}
}

// Try backup codes
const backupCodes = auth?.meta?.backup_codes || [];
for (let i = 0; i < backupCodes.length; i++) {
const match = await bcrypt.compare(code.toUpperCase(), backupCodes[i]);
const match = await bcrypt.compare(token.toUpperCase(), backupCodes[i]);
if (match) {
// Remove used backup code
const updatedCodes = [...backupCodes];
Expand Down Expand Up @@ -248,12 +262,12 @@ const internal2fa = {
throw new errs.ValidationError("No 2FA secret found");
}

const valid = authenticator.verify({
const result = await verify({
token,
secret,
});

if (!valid) {
if (!result.valid) {
throw new errs.ValidationError("Invalid verification code");
}

Expand Down
3 changes: 2 additions & 1 deletion backend/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { global as logger } from "../logger.js";
const keysFile = '/data/keys.json';
const mysqlEngine = 'mysql2';
const postgresEngine = 'pg';
const sqliteClientName = 'sqlite3';
const sqliteClientName = 'better-sqlite3';

let instance = null;

Expand Down Expand Up @@ -84,6 +84,7 @@ const configure = () => {
}

const envSqliteFile = process.env.DB_SQLITE_FILE || "/data/database.sqlite";

logger.info(`Using Sqlite: ${envSqliteFile}`);
instance = {
database: {
Expand Down
35 changes: 18 additions & 17 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,38 @@
"validate-schema": "node validate-schema.js"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.7.0",
"@apidevtools/json-schema-ref-parser": "^14.1.1",
"ajv": "^8.17.1",
"archiver": "^5.3.0",
"archiver": "^7.0.1",
"batchflow": "^0.4.0",
"bcrypt": "^5.0.0",
"body-parser": "^1.20.3",
"bcrypt": "^6.0.0",
"better-sqlite3": "^12.6.2",
"body-parser": "^2.2.2",
"compression": "^1.7.4",
"express": "^4.22.0",
"express": "^5.2.1",
"express-fileupload": "^1.5.2",
"gravatar": "^1.8.2",
"jsonwebtoken": "^9.0.2",
"knex": "2.4.2",
"liquidjs": "10.6.1",
"lodash": "^4.17.21",
"jsonwebtoken": "^9.0.3",
"knex": "3.1.0",
"liquidjs": "10.24.0",
"lodash": "^4.17.23",
"moment": "^2.30.1",
"mysql2": "^3.15.3",
"mysql2": "^3.16.3",
"node-rsa": "^1.1.1",
"objection": "3.0.1",
"otplib": "^12.0.1",
"objection": "3.1.5",
"otplib": "^13.2.1",
"path": "^0.12.7",
"pg": "^8.16.3",
"pg": "^8.18.0",
"proxy-agent": "^6.5.0",
"signale": "1.4.0",
"sqlite3": "^5.1.7",
"temp-write": "^4.0.0"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@biomejs/biome": "^2.3.2",
"chalk": "4.1.2",
"nodemon": "^2.0.2"
"@apidevtools/swagger-parser": "^12.1.0",
"@biomejs/biome": "^2.3.14",
"chalk": "5.6.2",
"nodemon": "^3.1.11"
},
"signale": {
"displayDate": true,
Expand Down
2 changes: 1 addition & 1 deletion backend/schema/paths/tokens/2fa/post.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"code": {
"minLength": 6,
"maxLength": 6,
"maxLength": 8,
"type": "string",
"example": "012345"
}
Expand Down
4 changes: 2 additions & 2 deletions backend/schema/paths/users/userID/2fa/backup-codes/post.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"requestBody": {
"description": "Verififcation Payload",
"description": "Verification Payload",
"required": true,
"content": {
"application/json": {
Expand All @@ -25,7 +25,7 @@
"properties": {
"code": {
"minLength": 6,
"maxLength": 6,
"maxLength": 8,
"type": "string",
"example": "123456"
}
Expand Down
4 changes: 2 additions & 2 deletions backend/schema/paths/users/userID/2fa/enable/post.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"requestBody": {
"description": "Verififcation Payload",
"description": "Verification Payload",
"required": true,
"content": {
"application/json": {
Expand All @@ -25,7 +25,7 @@
"properties": {
"code": {
"minLength": 6,
"maxLength": 6,
"maxLength": 8,
"type": "string",
"example": "123456"
}
Expand Down
Loading
Loading