forest_liana 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9796b4ebc73b96b0044e5bcb9398f76fbae12ec8
4
- data.tar.gz: 994766a1067797986c26eeeae135e16239392d8b
3
+ metadata.gz: 52c3fb2e2e444d3b97eccf79fad7633cf5f96147
4
+ data.tar.gz: fe7cdd13a028b48de1ed322d155c3c9eae606746
5
5
  SHA512:
6
- metadata.gz: e6221eb10e3f7b18db20be41211d7735e5b6ab91cfdfa07f228868011ec28f37d1ee610c23207cf9c148a7ad484d14b245fdc2392e93a4a01a3a13c6a1f736a5
7
- data.tar.gz: 8a531628470c290d32757d8b87dbf4eb43d2f07a7d910b347b9d58563420b81281199dd976de805bf35f4334e830bde10077c686ecd6313beb78a8f010184ee0
6
+ metadata.gz: c394d329658860208c5e3a97934aa4cd34597b2d5351ae9931bf92e5d35e80f94b12f832276e8af9b3b02caf9be5c0487c943cd2bf3c81c251343e5dcc5d4972
7
+ data.tar.gz: 1abaf5ee9fa128cfc06e3ae7b4c5d482af318a3bc4436eca4e143919ecd9cd01a562641d4e7d0764371b597a83fba560cc13227bfddd5a065bfb406f3f9996f1
@@ -29,7 +29,7 @@ module ForestLiana
29
29
  def check_user
30
30
  if has_internal_authentication?
31
31
  # NOTICE: Use the ForestUser table for authentication.
32
- user = user_class.find_by(email: params['email'])
32
+ user = @user_class.find_by(email: params['email'])
33
33
  user if !user.blank? && authenticate_internal_user(user['password_digest'])
34
34
  else
35
35
  # NOTICE: Query Forest server for authentication.
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_liana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-04 00:00:00.000000000 Z
11
+ date: 2017-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails