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

"Send test email" button #1655

Closed
luceos opened this issue Apr 17, 2018 · 9 comments · Fixed by #2023
Closed

"Send test email" button #1655

luceos opened this issue Apr 17, 2018 · 9 comments · Fixed by #2023

Comments

@luceos
Copy link
Member

luceos commented Apr 17, 2018

There is a way to reset your (admin) password without doing a full new reinstall.

Use the forgot password feature. In case the mail driver isn't fully working edit the settings.mail_driver value to log. Then run the password forgotten action again and check storage/logs/flarum.log it will hold the full email contents.

@franzliedke
Copy link
Contributor

Are you suggesting to add this hack to the documentation? Is this a common support request? If so, can we fix the feature instead?

(Sorry, asking out of cluelessness.)

@luceos
Copy link
Member Author

luceos commented May 17, 2018

"Fix the feature" That would be possible by making mail configuration fool proof. I think it made sense to document this solution as it might happen more often than we like.

@franzliedke
Copy link
Contributor

"Fool proof" as in not accepting configuration that does not work? Not sure whether I would consider that necessary. (A "Send test mail" button might be easier...)

That's like saying Flarum should display a pretty page when the database connection is misconfigured. 🤔

@luceos
Copy link
Member Author

luceos commented May 17, 2018

I only gave the solution, I never said that would be something we have to do 🤷‍♀️ Especially taking into consideration extensions modify the mail settings as well.

As you proposed there are plenty of alternatives, even doing an automated test run before persisting the mail changes to the database might help.

In any case this "hack" has already helped a few people. As such having it somewhere might be a wise idea, I agree the docs might not be the best solution, but I needed to put it somewhere in order not to forget about it.

@franzliedke
Copy link
Contributor

If @tobscure agrees, let's turn this into a "Send test email" button. :)

@franzliedke
Copy link
Contributor

Oh, and we could offer a console command for resetting admin's (or anyones?) password.

@luceos luceos transferred this issue from flarum/docs Nov 26, 2018
@franzliedke franzliedke changed the title How to reset your password "Send test email" button Nov 29, 2018
@franzliedke franzliedke added this to the 0.1.0-beta.10 milestone Mar 22, 2019
@franzliedke
Copy link
Contributor

Another good follow-up to #1169.

@stale

This comment has been minimized.

@stale stale bot added the stale Issues that have had over 90 days of inactivity label Jan 18, 2020
@franzliedke franzliedke added this to the 0.1 milestone Jan 19, 2020
@stale stale bot removed the stale Issues that have had over 90 days of inactivity label Jan 19, 2020
@askvortsov1
Copy link
Member

The above 2 PRs should address both the test mail functionality and the console password reset functionality as requested in the discussion above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants