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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72d93c4e9e476e85d8945e1b22b082b742f8e0c3
4
- data.tar.gz: 3c99db270086cb1c1019cbc5f98132777a3a40f1
3
+ metadata.gz: 69beecbe99b0b37584738fe05e6ad728b4a1940b
4
+ data.tar.gz: 0429c82383f95bc7bafec7862d0eb1228d7566ac
5
5
  SHA512:
6
- metadata.gz: e045408f51fe4615a58f28be5a7c942c8bdbe7780c846e95d83a818b9c29deb41465fd49f592ee9e169129da8874c50db450c4ee81d433e80027099827822085
7
- data.tar.gz: b94e212f23a7600f57217ce671a247bb620f179b4cfe43b3bc06e6f5d389321d317b04b1677bc6224f646ecaa8b7b92cf8f233a0725fbe660943e9e94fc3978c
6
+ metadata.gz: 634d9503c308a334b7363beae2b8686dec0734f0ba45dfb738753227be70e92539674567a40e84884947c05addbdb41e4038512e4155faebaecb8d45db65dce3
7
+ data.tar.gz: 2a2eafa4b716cc57fbbe7156567707cc66a46cd1ca0ff286c28cd33abb4d98ef8798d4da28ed0cb3fa7d95ffe6de26afa64aacdb068472028290863598556850
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.9.17.1
6
+
7
+ * Removed bug from last edit.
8
+
9
+
5
10
  ## 0.9.17
6
11
 
7
12
  * Debugged the redirect_to :back when there is no referer.
@@ -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
- redirect_to_back_or_root, alert: 'Your password cannot be blank and the password should be identical to the password confirmation. Please try again.'
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
- ( 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.'
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
 
@@ -1,3 +1,3 @@
1
1
  module TkhAuthentication
2
- VERSION = "0.9.17"
2
+ VERSION = "0.9.17.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.17
4
+ version: 0.9.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma