techlahoma_auth 0.0.5 → 0.0.6
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: e8f741daf54e019c282f66b7d66126fda7aa12d7
|
4
|
+
data.tar.gz: ffc197f3f178932cdf44fbf41d2a0d89f589c9f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaf32df42b98863e6078f4893750c11d6552a88b989bb0ebb18df58c73b3f8a9a521a2e0571357df1e322d9b8fb1f430e5bcdc6daad6899827ceea22d97146f6
|
7
|
+
data.tar.gz: 24112b00a33911de5e743ac7c706a267a3e056872fe4136fb053bd6167d9a70dd5de0101f52823d51c4db24ec4a65d3765ce06f1e229d3c2d82d7a6463f84e61
|
@@ -1,8 +1,6 @@
|
|
1
1
|
class TechlahomaAuth::UserSessionsController < TechlahomaAuth::ApplicationController
|
2
2
|
before_filter :login_required, :only => [ :destroy ]
|
3
3
|
|
4
|
-
respond_to :html
|
5
|
-
|
6
4
|
# omniauth callback method
|
7
5
|
def create
|
8
6
|
omniauth = env['omniauth.auth']
|
@@ -18,7 +16,6 @@ class TechlahomaAuth::UserSessionsController < TechlahomaAuth::ApplicationContro
|
|
18
16
|
user.save
|
19
17
|
|
20
18
|
session[:user_id] = user.id
|
21
|
-
|
22
19
|
flash[:notice] = "Successfully logged in"
|
23
20
|
redirect_to request.env['omniauth.origin'] || root_path
|
24
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: techlahoma_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Green
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|