[GH-ISSUE #5298] 500 error when trying to disable 2FA #3163

Closed
opened 2026-02-26 07:38:00 +03:00 by kerem · 3 comments
Owner

Originally created by @celebrion on GitHub (Feb 11, 2026).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5298

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
User unable to disable 2FA for admin interface.

Nginx Proxy Manager Version
v2.13.7

To Reproduce
After logging in to the admin interface with username, password and 2FA I went to the user menu on the top right, went into"Two-Factor Auth" and tried to disable 2FA. This resultet in a 500 error in the browser console akin to this:

index-Dsj4WOhN.js:71  DELETE https://fqdn.to.npm.tld/api/users/me/2fa?code=REDACTED 500 (Internal Server Error)
Q9 @ index-Dsj4WOhN.js:71
MD @ index-Dsj4WOhN.js:71
Y @ index-Dsj4WOhN.js:115
(anonymous) @ index-Dsj4WOhN.js:73
(anonymous) @ index-Dsj4WOhN.js:73
(anonymous) @ index-Dsj4WOhN.js:73
Promise.then
(anonymous) @ index-Dsj4WOhN.js:73
(anonymous) @ index-Dsj4WOhN.js:73
(anonymous) @ index-Dsj4WOhN.js:73
(anonymous) @ index-Dsj4WOhN.js:73
GT @ index-Dsj4WOhN.js:9
(anonymous) @ index-Dsj4WOhN.js:9
ph @ index-Dsj4WOhN.js:9
c0 @ index-Dsj4WOhN.js:9
w0 @ index-Dsj4WOhN.js:10
FO @ index-Dsj4WOhN.js:10

Expected behavior
Being able to disable 2FA at will.

Operating System
Docker container on Debian 12.

Originally created by @celebrion on GitHub (Feb 11, 2026). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5298 **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** User unable to disable 2FA for admin interface. **Nginx Proxy Manager Version** v2.13.7 **To Reproduce** After logging in to the admin interface with username, password and 2FA I went to the user menu on the top right, went into"Two-Factor Auth" and tried to disable 2FA. This resultet in a 500 error in the browser console akin to this: ``` index-Dsj4WOhN.js:71 DELETE https://fqdn.to.npm.tld/api/users/me/2fa?code=REDACTED 500 (Internal Server Error) Q9 @ index-Dsj4WOhN.js:71 MD @ index-Dsj4WOhN.js:71 Y @ index-Dsj4WOhN.js:115 (anonymous) @ index-Dsj4WOhN.js:73 (anonymous) @ index-Dsj4WOhN.js:73 (anonymous) @ index-Dsj4WOhN.js:73 Promise.then (anonymous) @ index-Dsj4WOhN.js:73 (anonymous) @ index-Dsj4WOhN.js:73 (anonymous) @ index-Dsj4WOhN.js:73 (anonymous) @ index-Dsj4WOhN.js:73 GT @ index-Dsj4WOhN.js:9 (anonymous) @ index-Dsj4WOhN.js:9 ph @ index-Dsj4WOhN.js:9 c0 @ index-Dsj4WOhN.js:9 w0 @ index-Dsj4WOhN.js:10 FO @ index-Dsj4WOhN.js:10 ``` **Expected behavior** Being able to disable 2FA at will. **Operating System** Docker container on Debian 12.
kerem 2026-02-26 07:38:00 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@celebrion commented on GitHub (Feb 11, 2026):

Replaced my FQDN in the error message with fqdn.to.npm.tld for privacy.

<!-- gh-comment-id:3883369380 --> @celebrion commented on GitHub (Feb 11, 2026): Replaced my FQDN in the error message with fqdn.to.npm.tld for privacy.
Author
Owner

@MikeTh01 commented on GitHub (Feb 12, 2026):

Same Problem.
I even have the Problem i Can't Login with 2FA. It keeps saying it is Invalid. Tried 20 times. Can only Login with Backup Code at the moment.
And i Can't make new Backup Codes and Can't Disable 2FA with the same error from This here.

<!-- gh-comment-id:3893507211 --> @MikeTh01 commented on GitHub (Feb 12, 2026): Same Problem. I even have the Problem i Can't Login with 2FA. It keeps saying it is Invalid. Tried 20 times. Can only Login with Backup Code at the moment. And i Can't make new Backup Codes and Can't Disable 2FA with the same error from This here.
Author
Owner

@7heMech commented on GitHub (Feb 14, 2026):

When the PR gets merged this will be fixed, you can temporarily use this image nginxproxymanager/nginx-proxy-manager-dev:pr-5303 if you need it ASAP.

<!-- gh-comment-id:3901596155 --> @7heMech commented on GitHub (Feb 14, 2026): When the PR gets merged this will be fixed, you can temporarily use this image `nginxproxymanager/nginx-proxy-manager-dev:pr-5303` if you need it ASAP.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#3163
No description provided.