user_mgmt 0.7.24 → 0.7.25

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cf75d5dc9a8cfc0085c3848d6aaf125c0a6ca80
4
- data.tar.gz: 62a977a121e6c7eaf82d8d13ea81a9666bc268d6
3
+ metadata.gz: 9615c8a27b71afee2acbe2427360a63182e583a0
4
+ data.tar.gz: 8df6b8359d0c19a3ab71747277da288301430c58
5
5
  SHA512:
6
- metadata.gz: 3be4dae17b2c2662e35cf456db59e4e2670cc723a53d0f4f222c4139b358b1cef1f61e62e2b2e0e805dc83d3b5e3155406e70b3a1d5e64a6e6846d1f7652066e
7
- data.tar.gz: 04d1f0cad631fe6bfa03b38c0d91f67d0b37bd54c647e449f9166d7aee7d875067eb95d776958a6b51a56773b82aadc69c595d19296f0d169e520fe7223230aa
6
+ metadata.gz: 85a5e328ab19089540fbbfbe97021e46d7cf4a2d563bfd002a54103f368cc385583062c630d5cb6cb4929ab01207ca7c61a574ab11176bccd4ea2fec9a750a2a
7
+ data.tar.gz: e32488dee52e4bd00adf40df66ff3bb20d9a8ebc7f38f50bb1807b84698466b26c91997e919892cf343d634e294906009a8be39d4a7ab130c8b184f35b24a313
@@ -35,10 +35,10 @@ module UserMgmt
35
35
  def send_password_reset
36
36
  response = reset_password params[:user][:reset_token], params[:user][:new_pw], params[:user][:new_pw_confirm]
37
37
  if response[:status] == "200"
38
- flash[:success] = "Password updated"
38
+ flash[:success] = response[:body]
39
39
  redirect_to log_in_path
40
40
  else
41
- flash[:error] = response[:body]
41
+ flash[:error] = response[:status]
42
42
  redirect_to password_reset_path
43
43
  end
44
44
  end
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.7.24"
2
+ VERSION = "0.7.25"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_mgmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.24
4
+ version: 0.7.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Faria, Fernando Gorodscy, Josh Leslie