Jump to content

tuomassalo

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by tuomassalo

  1. But... if you just need to reset a password and using a Mysql prompt feels easier than adding temporary .php files, this brutal SQL clause sets admin's password to 'admin1': UPDATE field_pass f, pages p, templates t SET f.data='rO65UGbDmOQYVanmOznTp1zJMhM1p2e', salt='$2y$11$Y89v0EVaoVB7Vg/Yiq7xqO' WHERE f.pages_id=p.id AND p.name="admin" AND p.templates_id=t.id AND t.name="user"; Just remember to change it later on. Update: this doesn't work since PW also uses a static salt in config.
×
×
  • Create New...