mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 15:05:26 +08:00
remove unneeded :rememberable module
This commit is contained in:
parent
0584453575
commit
19d5c687ef
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class User < ApplicationRecord
|
||||||
acts_as_token_authenticatable
|
acts_as_token_authenticatable
|
||||||
devise :invitable, :confirmable, :database_authenticatable, :registerable,
|
devise :invitable, :confirmable, :database_authenticatable, :registerable,
|
||||||
:async, :recoverable, :rememberable, :trackable, :validatable,
|
:async, :recoverable, :rememberable, :trackable, :validatable,
|
||||||
:rememberable, :timeoutable, :omniauthable,
|
:timeoutable, :omniauthable,
|
||||||
omniauth_providers: Extends::OMNIAUTH_PROVIDERS,
|
omniauth_providers: Extends::OMNIAUTH_PROVIDERS,
|
||||||
stretches: Constants::PASSWORD_STRETCH_FACTOR
|
stretches: Constants::PASSWORD_STRETCH_FACTOR
|
||||||
has_attached_file :avatar,
|
has_attached_file :avatar,
|
||||||
|
|
Loading…
Reference in a new issue