remove unneeded :rememberable module

This commit is contained in:
Zmago Devetak 2018-05-03 14:35:59 +02:00 committed by GitHub
parent 0584453575
commit 19d5c687ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,