unidom-visitor 1.12 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/unidom/visitor/password.rb +2 -1
- data/lib/unidom/visitor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ca805c110a9fabb0b3b9338e650389afc289005
|
4
|
+
data.tar.gz: b211a560e00ab4e79bcb8908ac50068ccf2ffa5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ebd90eff12a4469d45906af9335061d56280801ee3c1fdbff3b9e9256d7c1445b4fb9213d9fc2a8246a56a9201288f668ef188c2221306f2a379b1962c67dec
|
7
|
+
data.tar.gz: d808b8317f77c2af4e50c37ec4d280f33c17fe1480fe06c52127f2eb797cd2e1e28195a83fa46c2d1849a7c3ed2c73770c5a4cbf123f54533d958db6e7ea3a31
|
@@ -40,7 +40,8 @@ class Unidom::Visitor::Password < Unidom::Visitor::ApplicationRecord
|
|
40
40
|
authenticating.soft_destroy
|
41
41
|
password = self.class.new clear_text: new_password, opened_at: Time.now
|
42
42
|
if password.save
|
43
|
-
Unidom::Visitor::Authenticating.authenticate visitor, password
|
43
|
+
#Unidom::Visitor::Authenticating.authenticate visitor, password
|
44
|
+
Unidom::Visitor::Authenticating.authenticate! visitor, with: password
|
44
45
|
else
|
45
46
|
nil
|
46
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unidom-visitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unidom-common
|