minimum-omniauth-scaffold 0.4.4 → 0.4.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2c533cddfc74d74ce886eb6fe21010707c41d98
|
4
|
+
data.tar.gz: 95e625bf744fe4e9b0ecb6c67ebd0a8a951295e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53a5e2e693c753989635914d59ac077f8a6e280ae31f324d36a2f214e1390838f09e6b666b0bb7344c61b28dd7b84f06779e7238d26b69a0bfd0aa84a51bd44c
|
7
|
+
data.tar.gz: 8ee15d0a82df877587ffd9b18abb156f74a4c814d230252ca8072b71a48215c35518ad04cd87333b63e39688b994cc4d50f033d44962ad2685efa222b1c0f0c6
|
@@ -9,7 +9,6 @@ class SessionsController < ApplicationController
|
|
9
9
|
user = User.find_by(id: authentication.user_id) || User.create_with_auth(authentication, request)
|
10
10
|
|
11
11
|
session[:user_id] = user.id
|
12
|
-
flash[:notice] = "ログインしました。"
|
13
12
|
|
14
13
|
unless session[:request_url].blank?
|
15
14
|
redirect_to session[:request_url]
|
@@ -23,7 +22,7 @@ class SessionsController < ApplicationController
|
|
23
22
|
def destroy
|
24
23
|
session[:user_id] = nil
|
25
24
|
|
26
|
-
redirect_to :root
|
25
|
+
redirect_to :root and return
|
27
26
|
end
|
28
27
|
|
29
28
|
def failure
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minimum-omniauth-scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- shu0115
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
166
|
rubyforge_project:
|
167
|
-
rubygems_version: 2.
|
167
|
+
rubygems_version: 2.6.10
|
168
168
|
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: Minimum OmniAuth Scaffold
|