tkh_authentication 0.9.17 → 0.9.17.1
Sign up to get free protection for your applications and to get access to all the features.
- 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 +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69beecbe99b0b37584738fe05e6ad728b4a1940b
|
4
|
+
data.tar.gz: 0429c82383f95bc7bafec7862d0eb1228d7566ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 634d9503c308a334b7363beae2b8686dec0734f0ba45dfb738753227be70e92539674567a40e84884947c05addbdb41e4038512e4155faebaecb8d45db65dce3
|
7
|
+
data.tar.gz: 2a2eafa4b716cc57fbbe7156567707cc66a46cd1ca0ff286c28cd33abb4d98ef8798d4da28ed0cb3fa7d95ffe6de26afa64aacdb068472028290863598556850
|
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
|
+
( request.env["HTTP_REFERER"].present? ? redirect_to(:back) : redirect_to(root_path ), 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
|
-
|
115
|
+
redirect_to email_input_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
|
|