Closed
Description
- Gitea version (or commit ref): 1.10-rc1
- Git version: 2.20.1
- Operating system: Debian 10
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
- Go to try.gitea.io
- go to sign-in
- click "login with github"
- create a new account (left tab)
- after logging in with github go to settings/account
- click on delete user, enter password, confirm
A white page with the following error appears:
template: user/settings/account:62:48: executing "user/settings/account" at <eq .EmailNotificationsPreference "enabled">: error calling eq: invalid type for comparison
User Workaround:
- log out
- go to sign-in
- click forgot passwort
- click on the email link, specify a new password
Now it is possible to delete your user
What I also noticed:
- When creating a new user with "login with github", there is no complexity check for the password, a simple one seemed to be accepted (no error visible at least)
- the initial password does not work for login without gihub, but after clicking forgot password and creating a new one it does work.