Module: Clerk::Helpers::Controller

Defined in:
lib/clerk/helpers.rb

Instance Method Summary collapse

Instance Method Details

#authenticate_account!Object



10
11
12
13
14
15
16
17
18
# File 'lib/clerk/helpers.rb', line 10

def authenticate_account!
  if 
    if Clerk.config.email_address_verification == "forced" and !.verified_email_address
      redirect_to verify_email_address_url and return
    end
  else
    redirect_to  and return
  end
end