user_mgmt 0.7.22 → 0.7.23

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: 1669671a2126525f199c22aa31788ee77200091f
4
- data.tar.gz: acff3dc721eb007b736b1070d6d4e836f5fc8fde
3
+ metadata.gz: 4ba8cbf442720c754503b7e3c296078c6a574f47
4
+ data.tar.gz: fd8c57b15d21776e239509c4821915359c913075
5
5
  SHA512:
6
- metadata.gz: 8d5618f8bfa88d6f716e1808b6eb909d5bb5d45be11473ccd1245f513dd0f3dd1761c3fb15cca66b33e7fa084848eddafcb3dc483fcdaf99a7381b8bb84ef420
7
- data.tar.gz: aee2f2ca6e14da6ae8f6e7ef6b36ba359d8cf0cf9c3f11e48239f90d1b990046cf8c860d2096c78e0d9fe3bc95891ca732be55f00d2dd7f1c563a5f55b654785
6
+ metadata.gz: a7e7e9d00a5f5d39c021454f844279517d29e8216c31a372839c449facd73929292fc77a4d88dae7d019af33925174e73703f1ab6117accb4b066da918eaefbb
7
+ data.tar.gz: fe0ce6c7f78da9591367bbbb3fb9d8199ace6d8e6713b6bf940f85df8810491e6b62481996da5e7e5604a39b23643c74c0552ccb7f4de57fee95913c5239ab26
@@ -36,10 +36,10 @@ module UserMgmt
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
38
  flash[:success] = "Password updated"
39
+ redirect_to log_in_path
39
40
  else
40
41
  flash[:warning] = response[:body]
41
42
  end
42
- redirect_to log_in_path
43
43
  end
44
44
 
45
45
  def password_reset_request
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.7.22"
2
+ VERSION = "0.7.23"
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.22
4
+ version: 0.7.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Faria, Fernando Gorodscy, Josh Leslie