mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #852] admin:admin cannot be deactivated #3552
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#3552
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?
Originally created by @soekdd on GitHub (Feb 6, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/852
Description
The standard-user 'admin' cannot ba deleted (because its an inital user, ok), cannot be modfifed or deactivated (because of demo-mode). But the demo mode is not actived:
app.ini
Info:
@soekdd commented on GitHub (Feb 6, 2025):
doesnt work either...
@soekdd commented on GitHub (Feb 6, 2025):
Unfortunately I'm not common with go. But it looks like you dont check for demo mode.
@0xJacky commented on GitHub (Feb 6, 2025):
Thank you for the report, i will fix it later.
@0xJacky commented on GitHub (Feb 6, 2025):
Fixed in 7049599, please reinstall the latest version of v2.0.0-rc.1.
@soekdd commented on GitHub (Feb 6, 2025):
Great job!
@soekdd commented on GitHub (Feb 6, 2025):
Sorry, I'll have to ask you to open the ticket again:
I have installed your new version: Change password responds with a success message, but it does not change the password. So admin:admin remains active. Changing the passwords of all other users also fails.
BTW: I wish you would not transmit the password (either when logging in or when changing the password) unencrypted.
@0xJacky commented on GitHub (Feb 6, 2025):
Oops, I will fix it again later. By the way, this is the autocomplete function of the browser, and it is not nginx-ui to change the password unencrypted.
@soekdd commented on GitHub (Feb 6, 2025):
Nope, the passwords are in plain text in your web service calls:
@0xJacky commented on GitHub (Feb 6, 2025):
Currently, it will be encrypted when it's stored to the database, but the request was made without encryption. I will try to enhance this.
@0xJacky commented on GitHub (Feb 6, 2025):
Please reinstall the latest rc.1, the password changing issue has been resolved.
@soekdd commented on GitHub (Feb 6, 2025):
Check it, works! Thank you very much for you exemplary response! Greatings from Dresden/Germany.
@0xJacky commented on GitHub (Feb 7, 2025):
Recently, we used the RSA algorithm to encrypt the payload of login/install requests, this change will be released in the next RC version. Thanks for your suggestion!