These are chat archives for dektrium/yii2-user

4th
Nov 2014
Shappy
@Formcd
Nov 04 2014 14:21
@shamyne in your column registration_ip value = '', integer needed
shamyne
@shamyne
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.