[GH-ISSUE #1258] unable to login / reset the password. #2582

Closed
opened 2026-02-27 12:24:19 +03:00 by kerem · 0 comments
Owner

Originally created by @sbarex on GitHub (Jul 23, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1258

Describe the bug
I install nginx-ui on macos with homebrew.
After install and created a local user, I cannot login (password incorrect).
I cannot reset the password.

To Reproduce
on terminal:

nginx-ui reset-password --config=/opt/homebrew/etc/nginx-ui/app.ini

2025-07-23 15:38:05 INFO user/reset_password.go:52 confPath: /opt/homebrew/etc/nginx-ui/app.ini
2025-07-23 15:38:05 INFO user/reset_password.go:59 dbPath: /opt/homebrew/etc/nginx-ui/database.db

2025/07/23 15:38:05 github.com/0xJacky/Nginx-UI/internal/user/reset_password.go:70 illegal base64 data at input byte 0
[0.108ms] [rows:1] SELECT * FROM users WHERE id=1 AND users.deleted_at IS NULL LIMIT 1
2025/07/23 15:38:05 init user not exists

Info (please complete the following information):

  • Server OS: macOS 15.5
  • Server Arch: aach64
  • Nginx UI Version: 2.1.14 2(455)
  • Your Browser: Safari, Firefox
Originally created by @sbarex on GitHub (Jul 23, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1258 **Describe the bug** I install nginx-ui on macos with homebrew. After install and created a local user, I cannot login (password incorrect). I cannot reset the password. **To Reproduce** on terminal: ```sh nginx-ui reset-password --config=/opt/homebrew/etc/nginx-ui/app.ini ``` > 2025-07-23 15:38:05 INFO user/reset_password.go:52 confPath: /opt/homebrew/etc/nginx-ui/app.ini > 2025-07-23 15:38:05 INFO user/reset_password.go:59 dbPath: /opt/homebrew/etc/nginx-ui/database.db > > 2025/07/23 15:38:05 github.com/0xJacky/Nginx-UI/internal/user/reset_password.go:70 illegal base64 data at input byte 0 > [0.108ms] [rows:1] SELECT * FROM `users` WHERE id=1 AND `users`.`deleted_at` IS NULL LIMIT 1 > 2025/07/23 15:38:05 init user not exists **Info (please complete the following information):** - Server OS: macOS 15.5 - Server Arch: aach64 - Nginx UI Version: 2.1.14 2(455) - Your Browser: Safari, Firefox
kerem 2026-02-27 12:24:19 +03:00
  • closed this issue
  • added the
    bug
    label
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-ui#2582
No description provided.