These are chat archives for dektrium/yii2-user

Nov 2014
Nov 04 2014 14:21
@shamyne in your column registration_ip value = '', integer needed
Nov 04 2014 16:44
Yes, but my machine for some reason (windows 8.1) defaults to IPV6 which yii returns as ''. Null IPs are returned by yii2 as a blank space '' and the user table is requiring an integer or null value. Mysql does not automatically convert blank spaces to null. That needs to be setup as part of the rules in the user model.