cms-fortress 1.3.11 → 1.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/app/models/cms/fortress/user.rb +1 -1
- data/cms-fortress.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 608e3086c6f0be443c4669157a1a0352a4b23659
|
4
|
+
data.tar.gz: b0a47b0364808208f11887667d4f64fda64908d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 474ad973c1a19d3ce127b5755dbac73a3ff56cc23732c2a6881390207000e99ae19db3fb0e7cb6504aa0c7e4b50de7a658f771811fea9f853a40f824f6720dce
|
7
|
+
data.tar.gz: 936b68e255462b964a2bc58b8e3933e2f2a68b33d5615f3aa11df0c9cff7154d774969ea1c98f93acc42025aeae493ddb103b8d816590d64d2fd0e6456376524
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.12
|
@@ -14,7 +14,7 @@ class Cms::Fortress::User < ActiveRecord::Base
|
|
14
14
|
validates_length_of :password, within: Devise.password_length, allow_blank: true
|
15
15
|
devise :database_authenticatable,
|
16
16
|
:recoverable, :rememberable, :trackable, :timeoutable,
|
17
|
-
:authentication_keys => [:email, :site_id]
|
17
|
+
:authentication_keys => -> {Cms::Fortress.configuration.login_site_selector ? [:email, :site_id] : [:email]}.call
|
18
18
|
|
19
19
|
belongs_to :role
|
20
20
|
belongs_to :site, class_name: "Comfy::Cms::Site", foreign_key: :site_id
|
data/cms-fortress.gemspec
CHANGED