Last active
September 15, 2020 09:30
-
-
Save Mte90/0360d248b3e08a4e5c00633d1fcfdb2d to your computer and use it in GitHub Desktop.
OpenSupports Cron to activate users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mysql --user='[users]' --password='[psw]' --database='[db]' --execute="UPDATE user SET verification_token = NULL WHERE user.verification_token IS NOT NULL;" |
You are welcome, opensupport is not mantained very well so this kind of workaround are required :-(
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank's, your solution help me a lot! I just update my database to enable users access do system.