-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to delete user that was created by "login with github" #8558
Comments
Just a random thought... |
|
@silverwind I don't think my PR fixed this as there was bug also in LDAP sources but when I tested deleting user with ldap source it was working just fine so it must be something else |
Well, I finally had the time to investigate how to setup OAuth2 app in Github (it was pretty easy, I was just over-complicating things myself). The good (bad?) thing is that I couldn't reproduce the bug with Here's my tests (sorry, forgot to capture the Github login screen, but it's not important): (Insert missing Github login capture here 😉) |
It seems to have been fixed in v1.10.0-rc2 too. Unable to reproduce. |
It seems that other users are still hitting this issue, so my findings should at least help isolate the problem. For context, my test instance is configured with:
|
Well, I've tested with all of these combinations and I still can't reproduce:
In any case, the code for password complexity check ( I'm aware that try.gitea.io shows this problem, but being unable to reproduce... it's a tough task!
|
New development! I've unlinked my previous try account (guillep2k) from Github. Then I created a new try account (guillep3k) using Github; I gave it a password to complete the registration. Now I can log in using Github as expected (it brings me to the guillep3k user), but I can't log in with my password, which connects to this issue. But here's the Strangest Thing™ of all: Where is my Github linked account?? I've just used it to log in!!Am I crazy? 😵 I did what any of you would: I've logged off and attempted a new login with Github. I was able to log in. And the linked account is still missing from my settings. Talk about reproducibility! |
The |
Oh, yes, now I remember. |
Are you sure this can be done when passwords are not in Plain-Text? |
[x]
):Description
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:
Now it is possible to delete your user
What I also noticed:
The text was updated successfully, but these errors were encountered: