user_authentication 1.2.1 → 1.2.2
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: 57e9ba4daaad1b708937f87ff438dd0d0a1b353f
|
4
|
+
data.tar.gz: 729a910c66b5e0dab1797b2510cec2c86b91be38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3005e24b0eff3e478813c1e00ef46a3c450196459161f70800e04d5e5a66c315b103ca4cb769e4493886f9d082a9ca6f649aa3f9402194c76f9740b90e889ce1
|
7
|
+
data.tar.gz: ed2f71e9e14824b5432191eae842a605b703634858d04317bc2b865c33aa5fab7fc73749c59eee05ab98be31a91a2cf1c6e8b1179eb0f8aa63efa74b8e7b731e
|
@@ -2,8 +2,8 @@ class AccountsController < ApplicationController
|
|
2
2
|
before_filter :authorize, only: [:do_set_password]
|
3
3
|
|
4
4
|
def login
|
5
|
-
template =
|
6
|
-
if
|
5
|
+
template = 'accounts/login'
|
6
|
+
if lookup_context.exists? template
|
7
7
|
render template
|
8
8
|
else
|
9
9
|
render 'accounts/default_login'
|
@@ -41,8 +41,8 @@ class AccountsController < ApplicationController
|
|
41
41
|
|
42
42
|
|
43
43
|
def signup
|
44
|
-
template =
|
45
|
-
if
|
44
|
+
template = 'accounts/signup'
|
45
|
+
if lookup_context.exists? template
|
46
46
|
render template
|
47
47
|
else
|
48
48
|
render 'accounts/default_signup'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: user_authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sujoy Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -160,6 +160,7 @@ files:
|
|
160
160
|
- lib/tasks/user_authentication_tasks.rake
|
161
161
|
- lib/user_authentication.rb
|
162
162
|
- lib/user_authentication/version.rb
|
163
|
+
- lib/user_authentication/version.rb~
|
163
164
|
homepage: http://github.com/sujoyg/user_authentication
|
164
165
|
licenses:
|
165
166
|
- MIT
|