How to set default password for all user at once

  1. just go to your setup folder from terminal
    cd folder name>frappe-bench
  2. activate virtualenv -: source ../bin/activate
  3. type bench mysql
  4. Fire a update query on tabUser table.
    update tabUser set new_password = 'your_password' where enabled = 1;
    This will set all users password who are enabled.
1 Like