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: bd0cd7b1c586f2392e62362291dcf8ddc9fe5e3b
4
- data.tar.gz: a2e4cf660fc46179abd089883282a57e197bd871
3
+ metadata.gz: 1669671a2126525f199c22aa31788ee77200091f
4
+ data.tar.gz: acff3dc721eb007b736b1070d6d4e836f5fc8fde
5
5
  SHA512:
6
- metadata.gz: 9e1abe5965021f432082a78f4902decaae9cc5a58de241a0708fe014c3cebb4064dcfa5c59f47b538f6c5dfb8b142f471148663ce1048c0b39633658da8c4d88
7
- data.tar.gz: 7df8f76808ad4a33a4de8e4f0516ac0d2fc0f3f9aa5eb78a68f4db8b85610cd7024553dfc9e7bb84fd1896e679ae1a32793d2a82bfff43869ff270d789ab56c9
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, 'Token', :class => "input-block-level", :placeholder => 'Token'
6
+ = text_field :user, 'reset_token', :class => "input-block-level", :placeholder => 'Token'
7
7
 
8
8
  %div
9
- = text_field :user, 'New Password', :class => "input-block-level", :type => "password", :placeholder => 'Password'
9
+ = text_field :user, 'new_pw', :class => "input-block-level", :type => "password", :placeholder => 'Password'
10
10
 
11
11
  %div
12
- = text_field :user, 'New Password Confirmation', :class => "input-block-level", :type => "password", :placeholder => 'Password Confirmation'
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"
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.7.21"
2
+ VERSION = "0.7.22"
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.21
4
+ version: 0.7.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Faria, Fernando Gorodscy, Josh Leslie