Adding e-mail confirmations
This commit is contained in:
parent
b3c7c8700d
commit
fc198a8b4c
15 changed files with 72 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue