tramway-auth 1.0.1 → 1.0.1.1

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
  SHA256:
3
- metadata.gz: a5984e1c2e4e4d09c13f9c0089882b1c9b482d44ef64677428f778a5d1a10a07
4
- data.tar.gz: a55bc79ce4b036f279af3d000fa584c0ad7b899714ba983b945cc6bb4958049d
3
+ metadata.gz: e93e4a8560582cb39e6d4cb824aef5c022ec2f32555944a8d7cc163222d6424a
4
+ data.tar.gz: 599b3407e36e13120f8b283d19fb9e22d4c9f470076a2ef8d5bce927fdd28895
5
5
  SHA512:
6
- metadata.gz: c19b6bb9e9620856a11624ce25bd48ebc42de1e6cf6013bcd1c5da5168200d2cb63337b8804fed1c770d47151595a02eae9d60cc9eb483fa89c2b3e4f5dbfc59
7
- data.tar.gz: 56aa7895c55b24c05e6d9118185b5e505f9189ebdcef0dfdf104d7cb8653a35ec5a4dd1e5651083858c55af6c4c8da802d9d4318eb0233d4f1751c79b0884798
6
+ metadata.gz: 4f5055d97f08f770e691f119742ffb6d1c75335f1a2252f22c6b39e3e3981083b7f6c274c895a56eee808d09b7a009ca58d6d65fdc7063ed8a13954ed9f4a143
7
+ data.tar.gz: c5439f24376c5e91c560146a5842311009e1516d6967c7ba076919ff79df4b18893fc9baca845b2a8a8cca0f6d55dde8fbfe61a266569aa97d967ce6ee0f99e4
@@ -8,7 +8,7 @@ module Tramway::Auth
8
8
  end
9
9
 
10
10
  def create
11
- @session_form = ::Tramway::Auth::SessionForm.new ::Tramway::User::User.find_or_initialize_by email: params[:user][:email]
11
+ @session_form = ::Tramway::Auth::SessionForm.new ::Tramway::User::User.active.find_or_initialize_by email: params[:user][:email]
12
12
  if @session_form.validate params[:user]
13
13
  sign_in @session_form.model
14
14
  redirect_to ::Tramway::Auth.root_path
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Auth
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-29 00:00:00.000000000 Z
11
+ date: 2019-06-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for auth
14
14
  email: