baumrock / RockMigrations

The Ultimate Automation and Deployment-Tool for ProcessWire
MIT License
33 stars 10 forks source link

fix addUser method #24

Closed jmartsch closed 1 year ago

jmartsch commented 1 year ago

The getUser function returns false, if a user does not exist. Therefore the addUser method always returns false and does not create a new user.

BernhardBaumrock commented 1 year ago

Hey @jmartsch thx for finding this :) I've refactored that https://github.com/baumrock/RockMigrations/commit/fb18156f929d549c3c160595b75bcd4b00f72162