spec/dummy/app/models/user.rb in devise-doorkeeper-1.1.2.ci.123.1 vs spec/dummy/app/models/user.rb in devise-doorkeeper-1.1.2.ci.129.1
- old
+ new
@@ -1,7 +1,11 @@
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
- :recoverable, :rememberable, :trackable, :validatable
+ :recoverable, :rememberable, :trackable, :validatable, :confirmable
devise :database_authenticatable, :doorkeeper
+
+ def send_confirmation_notification?
+ false
+ end
end