mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[PR #4345] Feature: Add multi factor authentication #3865
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3865
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/4345
Author: @badkeyy
Created: 2/5/2025
Status: 🔄 Open
Base:
develop← Head:feature/add-multi-factor-authentication📝 Commits (10+)
2c15957Add hosts to cert listc6ab315Add status indicator to certificates and show active domain names6bbe7d4Fix alignmentcea9a17Retrigger build8fb9d9fRemoved whitespace50f7bfcAdd dead_hosts and redirection_hostsf3fee7dMerge45fc638Merge branch 'feature/show-active-host-in-cert-list' of https://github.com/badkeyy/nginx-proxy-manager into feature/show-active-host-in-cert-list69f7920Remove console.logs35938dbAdded MFA to model and internal user📊 Changes
19 files changed (+597 additions, -121 deletions)
View changed files
➕
backend/internal/mfa.js(+97 -0)📝
backend/internal/token.js(+59 -24)📝
backend/internal/user.js(+2 -1)➕
backend/migrations/20250115041439_mfa_integeration.js(+45 -0)📝
backend/package.json(+2 -0)📝
backend/routes/main.js(+1 -0)➕
backend/routes/mfa.js(+81 -0)➕
backend/schema/paths/mfa/delete/delete.json(+44 -0)➕
backend/schema/paths/mfa/enable/post.json(+44 -0)📝
backend/schema/paths/tokens/post.json(+4 -0)📝
backend/schema/paths/users/post.json(+1 -1)📝
backend/schema/swagger.json(+10 -0)📝
backend/yarn.lock(+0 -88)📝
frontend/js/app/api.js(+42 -0)📝
frontend/js/app/user/form.ejs(+21 -0)📝
frontend/js/app/user/form.js(+93 -2)📝
frontend/js/i18n/messages.json(+12 -1)📝
frontend/js/login/ui/login.ejs(+8 -1)📝
frontend/js/login/ui/login.js(+31 -3)📄 Description
🚨 Contains Database Migration 🚨
Issue
Fixes https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4276
Description:
This PR implements multi-factor authentication (MFA) to secure the login process. The new MFA feature adds an extra layer of security by requiring users to provide a second form of authentication, significantly reducing the risk of unauthorized access even if primary credentials (over http) are compromised.
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.