-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
How do I enable password reset ? #2247
Comments
Password reset is enabled default. |
You can reset password using the command line as well: |
@lunny It is not on the installation with Arch linux's AUR. At least I get an error saying it is disabled.
|
you could use --config to indicate where is your app.ini |
@techknowlogick Why was this closed without an answer? There is no obvious setting in the sample app.ini: https://github.com/go-gitea/gitea/blob/master/custom/conf/app.ini.sample The comments above do not answer the question. The OP did not ask how to reset a password using the command line interface, nor whether enabling password reset was default, but how to turn on the password reset feature. I am on a gitea repo now and the admin does not know how to turn on password reset (so it clearly isn't on by default--he doesn't know how to change it). If I click reset password, it says:
|
I support @Poikilos. Why is this a closed issue? I'm facing the same problem with no clue which config option to change. |
I'm not a maintainer but this string isn't even in the source code. @dipyalov are you sure that you are using the latest version, because there was also this PR that was merged in April.
Did his suggestion ( |
@Poikilos @dipyalov Password reset is only considered enabled when a mail service is set up, as that's how Gitea currently sends the account recovery. If no mail service is set up, I believe the CLI is the only other way to do it, or have your admin change it for you and then you change it again after regaining access. |
I was referring to Gitea Version: 1.8.1 (Go1.12.5). I'll tell him that lack of mail config may be the issue. Shouldn't the admin interface give some kind of warning (to configure mail) where the setting would be, instead of just hiding password reset the setting? |
@alexanderadam The whole point of this topic is that end users cannot reset their passwords. Again, this topic is not discussing manual intervention by admins. |
Okay, then I probably misread binaryplease writing that he tested the admin command it without
IMHO it isn't possible to do this on a misconfigured system. So either the admin adds the email configuration like described in the config cheat sheet or he uses the command captn3m0 wrote about. Or, to make this clear: the whole point should is, that asking your admin should be the first step if you are an end user and you encounter some problems on a particular installation (which is not only true for gitea). |
He's not the OP, and the command isn't something "disabled" (just malfunctioning in the case of one reply, which is off topic or a workaround at best). There is no need to be snarky. The issue is clear, and I've not misunderstood it, unless you or the OP can point to where there is a setting that disables the CLI workaround.
The OP could be an admin, and the admin on my instance doesn't know how to enable it. I'll ask again: Shouldn't the admin interface give some kind of warning (to configure mail) where the setting would be, instead of just hiding the password reset setting (or is it just hidden from users, also without a warning to admins)? |
@Poikilos There is no setting for password resets. It is considered "enabled" when a mail service is configured, and "disabled" otherwise, as far as I can tell. Perhaps a better error message could be given, at least to admins? |
When I try realize Try install and use Gitea on DSM Synology. First time it was OK - I'v got admin access, but after relogin "Wrong login or password". I already uninstall Gitea and reinstall it again - no luck, apologize all in data base. It's looped problem. I need change password because it write me that it's wrong, but I can't change it because I need this password for change. How can I reset all Gitea in my situation? I just in the beginning of it and can do it but don't know exactly how. |
This command would be to change the Gitea user named
This error is telling you that it is expecting you to run the command as the For further help, would you mind opening a new issue so as not to add on to this closed one? 😃 |
@VitaliyAT Please read the detailed posts above clarifying that "How do I enable password reset" (for end users) is not the same as "How do I reset a password" (as admin). Consider deleting your comment and posting it in a new issue as jolheiser suggested instead, so that your comment does not further muddy this issue nor bury jolhheiser's proposed solution to this issue. |
honestly, this issue and the way of communication here bugs me. many reasons: Also "is enabled by default" is simply not true as an answer, because a working mailserver-conf is a requirement and that is by default not enabled. @Poikilos "this topic is not discussing manual intervention by admins." well then, to be honest: it should do so!! Sorry to comment on a closed one, but .. not that much sorry. Just had the same problem, read the whole issue, am now not really any more informed, other than i got the impression one shouldn't ask questions/write issues ...and (funnily enough) even if someone understands what the real question is ("how to manually change password as admin"), there is NO answer to it ':D like.. why bother with writing answers, if there is no verbose information in it? Not worth the typing. whatever. Just my 2 Cents & impression, being a little frustrated. take it as feedback to improve. |
For anyone who finds this issue, I would like to make another comment here at the bottom to address the aggregation of scenarios in this thread. How can I enable password reset / How can a user's password be changed?The original question
There is no setting for password resets. It is considered "enabled" when a mail service is configured, and "disabled" otherwise.
|
|
How do I enable password reset ?
Thanks
The text was updated successfully, but these errors were encountered: