Skip to content
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

Delete account password field length #1659

Closed
1 of 7 tasks
Fastidious opened this issue May 2, 2017 · 15 comments · Fixed by #2901
Closed
1 of 7 tasks

Delete account password field length #1659

Fastidious opened this issue May 2, 2017 · 15 comments · Fixed by #2901
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Milestone

Comments

@Fastidious
Copy link

Description

Make delete account password field match the length of rest of the fields under settings.

Screenshots

Currently:

screen shot 2017-05-02 at 13 32 27

Make it like gogs (talking about the length, not the settings arrangement):

screen shot 2017-05-02 at 13 33 00

@bkcsoft bkcsoft added topic/ui Change the appearance of the Gitea UI type/bug labels May 2, 2017
@bkcsoft
Copy link
Member

bkcsoft commented May 2, 2017

I'm calling this a ui-bug 😄

@Fastidious
Copy link
Author

Fastidious commented May 2, 2017

@bkcsoft also, why is there a reason for a “Forgot password?” link there? To get to this, one must be logged in, am I missing something? Gogs, for example, do not have it there.

@bkcsoft
Copy link
Member

bkcsoft commented May 2, 2017

I have no clue 😂

@lunny
Copy link
Member

lunny commented May 3, 2017

@Fastidious Since Gitea support login via Oauth2 then many people maybe didn't use their password many days. So when he want to delete himself he maybe forget his password.

@lunny
Copy link
Member

lunny commented May 3, 2017

And I don't think this is a bug, maybe it's an enhancement.

@Fastidious
Copy link
Author

So when he want to delete himself he maybe forget his password.

@lunny, if anything, that’s an UX problem. Perhaps gitea should detect you are logging in with Oauth2, and allow account deletion under those conditions, perhaps asking “Are you sure?” with a little verbose stating that’s final — thus making the “Forgot password?” link irrelevant.

@lafriks
Copy link
Member

lafriks commented May 3, 2017

Deleting account must ask for password for security reasons

@Fastidious
Copy link
Author

@lafriks I think we all understand that. How do you propose asking for a password should happen, when using Oauth2 to login? Perhaps disable account deletion with Oauth2 logins, and only show it with local logins?

@lunny
Copy link
Member

lunny commented May 3, 2017

@Fastidious, in fact, OAuth2/OpenID is an linked account, you also has an related local account. This is different from LDAP/SMTP. Also, maybe we should change LDAP/SMTP like OAuth2 in future.

@lafriks
Copy link
Member

lafriks commented May 3, 2017

No, LDAP should not be moved to linked account as in organizations LDAP will be primary account store and users should not be able to change/use different passwords for Gitea as than it can't be controlled by password policy etc.

@Fastidious
Copy link
Author

@lunny yes, I understand that too. Yet, once you use OAuth2 there is no longer a need to remember the “other” local password.

@lafriks
Copy link
Member

lafriks commented May 3, 2017

@Fastidious that is why there is Forgot password link ;)

@Fastidious
Copy link
Author

@lafriks we are dancing in a loop, playing a broken record. Back to this track. Cheers!

@strk
Copy link
Member

strk commented May 4, 2017

Password handling discussion should be in #1036, please continue it there.
This ticket is for an UI bug, keep that here.

@sondr3
Copy link
Contributor

sondr3 commented May 14, 2017

I can fix the password length field if no one else is working on it.

Edit: Seems I overlooked the comment about what to do with it regarding OAuth2 etc, scratch that.

@bkcsoft bkcsoft changed the title Delete account password field length Delete account password field length May 15, 2017
@bkcsoft bkcsoft changed the title Delete account password field length Delete account password field length May 15, 2017
@lafriks lafriks added this to the 1.3.0 milestone Nov 13, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants