Class: Devise::Passwordless::LoginToken

Inherits:
Object
  • Object
show all
Defined in:
lib/devise/passwordless/login_token.rb

Class Method Summary collapse

Class Method Details

.secret_keyObject



3
4
5
6
7
8
9
10
# File 'lib/devise/passwordless/login_token.rb', line 3

def self.secret_key
  Devise::Passwordless.deprecator.warn <<-DEPRECATION.strip_heredoc
    [Devise-Passwordless] `Devise::Passwordless::LoginToken.secret_key` is
    deprecated and will be removed in a future release. Please use
    `Devise::Passwordless.secret_key` instead.
  DEPRECATION
  Devise::Passwordless.secret_key
end