Skip email validation for omniauth-twitter on devise 2.0

后端 未结 4 1267
Happy的楠姐
Happy的楠姐 2020-12-08 22:01

I\'m using devise 2.0 and gem omniauth-twitter

The problem is that twitter does not send an email in response, so the model user of my application validates that the

4条回答
  •  半阙折子戏
    2020-12-08 22:51

    You need to remove the presence validation of the email field. Follow this post and see if that works. Sorry for the late response, hope this helps.

提交回复
热议问题