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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9615c8a27b71afee2acbe2427360a63182e583a0
|
|
4
|
+
data.tar.gz: 8df6b8359d0c19a3ab71747277da288301430c58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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] =
|
|
38
|
+
flash[:success] = response[:body]
|
|
39
39
|
redirect_to log_in_path
|
|
40
40
|
else
|
|
41
|
-
flash[:error] = response[:
|
|
41
|
+
flash[:error] = response[:status]
|
|
42
42
|
redirect_to password_reset_path
|
|
43
43
|
end
|
|
44
44
|
end
|
data/lib/user_mgmt/version.rb
CHANGED