diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-03 16:38:22 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-03 16:51:00 +0200 |
commit | fc198a8b4ca6d22eaedee2cfb03e088432dc4b30 (patch) | |
tree | cc57ecb76638deb4b9cafd80e0c14911e4f419c6 /app/models | |
parent | b3c7c8700d7ddf73d6fef4076f15ae7c3d39ce67 (diff) |
Adding e-mail confirmations
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index da096d6e9..c1243e9ac 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,5 +1,5 @@ class User < ApplicationRecord - devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable + devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :confirmable belongs_to :account, inverse_of: :user accepts_nested_attributes_for :account |