user_mgmt 0.7.18 → 0.7.19

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: 78c7c59ce6e16996bd8a1705c460bdf87a6a3e9a
4
- data.tar.gz: 6c34dc268f4ced3e1da643e001df48c78d384c14
3
+ metadata.gz: 8ab4eb56c7d2839bc08db84a44592bbd82c4cef9
4
+ data.tar.gz: dd3012b55560c869a9de7a7eb0570702f217f0af
5
5
  SHA512:
6
- metadata.gz: 63226a51fed189d338f8c2ef09b702c1a21730335374bea7f2c72b4d63eb78364469c744eeea6689a609e4e38e9f9a4fcf8934a4c2d68e6f563d5b12cf9cd9a3
7
- data.tar.gz: a84c79b31445f3b419f35260959681a76a3c752cddf57f94e8b99f6d84e8c7362a3753c93b8a3d4cf34046aea1b3d1c770e4cd5a176949dea0c0c233f9714e86
6
+ metadata.gz: d515f8a353dee8ba4759840cd2b4d3188b4ccf0d6ac4bb09ce10127ff0da61d7094b55544c40a07bf6d9479d11a0383e9323fd484a61a939d4e462a44e0c2962
7
+ data.tar.gz: 4b9a22d48ad38c15201fb2b97ae5dd07fe631e755e13bdbb04b3ef70624e985172f1bbc607c76b9081875eb4010fe66c9491b35b1b937b0f85daa3e9ace97e06
@@ -33,8 +33,8 @@ module UserMgmt
33
33
  end
34
34
 
35
35
  def send_password_reset
36
- response, status = reset_password params[:reset_token], params[:new_pw], params[:new_pw_confirm]
37
- if status == :OK
36
+ response = reset_password params[:reset_token], params[:new_pw], params[:new_pw_confirm]
37
+ if response[:status] == "200"
38
38
  flash[:success] = "Password updated"
39
39
  else
40
40
  flash[:warning] = response[:body]
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.7.18"
2
+ VERSION = "0.7.19"
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.18
4
+ version: 0.7.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Faria, Fernando Gorodscy, Josh Leslie