I have seen many threads on them, although this issue was not solved for me (other people's issues were resolved ) I'm trying to sign in through a username password and no email, but I get the "SELECT" user. * "Users" from Where "Users" "Email" ISL No 1
Here is my code:
class user & lt; ActiveRecord :: Base # Device: Omnibal DeviseTokenAuth :: Concerns: User Planning: authentication_keys = & gt; [: Username] end
in devise.rb:
config.confirmation_keys = [: username] config.authentication_keys = [: username] config .case_insensitive_keys = [: username] config.strip_whitespace_keys = [: username]
I do not really know where the error might occur ..
No comments:
Post a Comment