Skip to content

Instantly share code, notes, and snippets.

@Mte90
Last active September 15, 2020 09:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mte90/0360d248b3e08a4e5c00633d1fcfdb2d to your computer and use it in GitHub Desktop.
Save Mte90/0360d248b3e08a4e5c00633d1fcfdb2d to your computer and use it in GitHub Desktop.
OpenSupports Cron to activate users
#!/bin/bash
mysql --user='[users]' --password='[psw]' --database='[db]' --execute="UPDATE user SET verification_token = NULL WHERE user.verification_token IS NOT NULL;"
@profmaddo
Copy link

Thank's, your solution help me a lot! I just update my database to enable users access do system.

@Mte90
Copy link
Author

Mte90 commented Sep 15, 2020

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