user_mgmt 0.7.21 → 0.7.22
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1669671a2126525f199c22aa31788ee77200091f
|
4
|
+
data.tar.gz: acff3dc721eb007b736b1070d6d4e836f5fc8fde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d5618f8bfa88d6f716e1808b6eb909d5bb5d45be11473ccd1245f513dd0f3dd1761c3fb15cca66b33e7fa084848eddafcb3dc483fcdaf99a7381b8bb84ef420
|
7
|
+
data.tar.gz: aee2f2ca6e14da6ae8f6e7ef6b36ba359d8cf0cf9c3f11e48239f90d1b990046cf8c860d2096c78e0d9fe3bc95891ca732be55f00d2dd7f1c563a5f55b654785
|
@@ -33,7 +33,7 @@ module UserMgmt
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def send_password_reset
|
36
|
-
response = reset_password params[:reset_token], params[:new_pw], params[:new_pw_confirm]
|
36
|
+
response = reset_password params[:user][:reset_token], params[:user][:new_pw], params[:user][:new_pw_confirm]
|
37
37
|
if response[:status] == "200"
|
38
38
|
flash[:success] = "Password updated"
|
39
39
|
else
|
@@ -3,12 +3,12 @@
|
|
3
3
|
%h2.center Reset your password
|
4
4
|
.login_input.center
|
5
5
|
%div
|
6
|
-
= text_field :user, '
|
6
|
+
= text_field :user, 'reset_token', :class => "input-block-level", :placeholder => 'Token'
|
7
7
|
|
8
8
|
%div
|
9
|
-
= text_field :user, '
|
9
|
+
= text_field :user, 'new_pw', :class => "input-block-level", :type => "password", :placeholder => 'Password'
|
10
10
|
|
11
11
|
%div
|
12
|
-
= text_field :user, '
|
12
|
+
= text_field :user, 'new_pw_confirm', :class => "input-block-level", :type => "password", :placeholder => 'Password Confirmation'
|
13
13
|
|
14
14
|
= submit_tag 'submit', :class => "btn btn-large btn-primary"
|
data/lib/user_mgmt/version.rb
CHANGED