I am using ng-token-auth with devise-token-auth.
This is my user.rb
class User < ActiveRecord::Base
devise :database_authenticatable, :recoverable,
:validatable, :omniauthable
include DeviseTokenAuth::Concerns::User
end
I don't have confirmable listed but everytime I try to register, it tries to send a confirmation email and when I try to login, it says I have to follow the instructions in the email. How can I remove this? I went through the documentation and some posts, I thought that only happens when I have :confirmable in the user.rb. Any help would be appreciated. Thanks!
Aucun commentaire:
Enregistrer un commentaire