|
|
@@ -203,7 +203,7 @@ func (simple *Simple) Bind(binder *binding.Binder) {
|
|
|
return false, errors.New(err.Error())
|
|
|
}
|
|
|
|
|
|
- conditions.Equal(ColumnPassword, encryptedPassword)
|
|
|
+ conditions.Equal(ColumnPhone, encryptedPassword)
|
|
|
}
|
|
|
|
|
|
return true, nil
|
|
|
@@ -219,7 +219,7 @@ func (simple *Simple) Bind(binder *binding.Binder) {
|
|
|
return false, errors.New(err.Error())
|
|
|
}
|
|
|
|
|
|
- conditions.Equal(ColumnPassword, encryptedPassword)
|
|
|
+ conditions.Equal(ColumnEmail, encryptedPassword)
|
|
|
}
|
|
|
|
|
|
return true, nil
|