Closed LostKobrakai closed 9 years ago
Two PRs on the same recipe within 20min! :) That's cool. I manually committed and merged your and mindplay-dks input: https://processwire-recipes.com/recipes/resetting-admin-password-via-api/. Thanks for the contribution!
You're missing the quotes in the save statement.
:bow: Fixed.
Just saving the pass could maybe reduce the chance of getting errors, but mostly it's just that nothing else gets changed accidentally.