tkh_authentication 0.9.16 → 0.9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/controllers/reception_controller.rb +2 -2
- data/lib/tkh_authentication/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72d93c4e9e476e85d8945e1b22b082b742f8e0c3
|
4
|
+
data.tar.gz: 3c99db270086cb1c1019cbc5f98132777a3a40f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e045408f51fe4615a58f28be5a7c942c8bdbe7780c846e95d83a818b9c29deb41465fd49f592ee9e169129da8874c50db450c4ee81d433e80027099827822085
|
7
|
+
data.tar.gz: b94e212f23a7600f57217ce671a247bb620f179b4cfe43b3bc06e6f5d389321d317b04b1677bc6224f646ecaa8b7b92cf8f233a0725fbe660943e9e94fc3978c
|
data/CHANGELOG.md
CHANGED
@@ -109,10 +109,10 @@ class ReceptionController < ApplicationController
|
|
109
109
|
redirect_to email_input_path, alert: 'Sorry, your password_creation_token has expired. To protect your privacy and ensure your security, we need to ask you to start the process over again. The token, when created, expires after 1 hour!'
|
110
110
|
end
|
111
111
|
else # password is blank or password and password_confirmation don't match
|
112
|
-
|
112
|
+
redirect_to_back_or_root, alert: 'Your password cannot be blank and the password should be identical to the password confirmation. Please try again.'
|
113
113
|
end
|
114
114
|
else # @user is blank
|
115
|
-
redirect_to
|
115
|
+
( request.env["HTTP_REFERER"].present? ? redirect_to(:back) : redirect_to(root_path ), alert: 'We could not find this user record in our database. Please start the process over.'
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tkh_authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swami Atma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|