Module: ClerkRails::Helpers::Controller

Defined in:
lib/clerk_rails/helpers.rb

Instance Method Summary collapse

Instance Method Details

#authenticate_account!Object



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

def authenticate_account!
  if 
    if !.verified_email_address
      redirect_to verify_email_address_url and return
    end
  else
    redirect_to  and return
  end
end