app/models/user.rb in hackathon_manager-0.5.7 vs app/models/user.rb in hackathon_manager-0.5.8
- old
+ new
@@ -1,10 +1,12 @@
class User < ApplicationRecord
- devise :database_authenticatable, :registerable,
+ devise :database_authenticatable, :registerable, :timeoutable,
:recoverable, :rememberable, :trackable, :validatable,
:omniauthable, omniauth_providers: [:mlh]
has_one :questionnaire
+
+ after_create :queue_reminder_email
def active_for_authentication?
true
end