user_mgmt 2.1.4 → 2.1.5

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: 43707c6b805a9f10c217afa7a681d0b63abf6704
4
- data.tar.gz: cf6ec4fd1118294d729726dc86d483f8896c3331
3
+ metadata.gz: 0720b425bff4ce341beb5761f887c6cc1321cdfe
4
+ data.tar.gz: ae3c1244976fbc5498a3c05258c5651e54e78e59
5
5
  SHA512:
6
- metadata.gz: 0abfd4931069b5e20364df1de964c552f1418ed2ce0416a3ae5f8b0a3b67380a6af3e1def4912017d1bf623b17e9722f117284f39b2472b53b2e9c21ce4c736a
7
- data.tar.gz: e828a6b710b172c64896a363c5bdeaaf47fda13f674772b3e264893db04f94c1e7d9de5f26d920fe024e50a9ac03829a5620c1aa388b66d1d6aee85d3d085212
6
+ metadata.gz: 1be50c34b99f9f6832c5ab6007354e828dda1d875fa27377aed27e34943d82bcf7afd737f9f73e78f8c940ec99742f88bc148b2af167af05ae782ba81f33d543
7
+ data.tar.gz: fcedd9f8c846ee6caf44d86b542b2eec1a65379c679863b5c7d88f72eb92905df0c8d113006c4ae7ae99433936332b13f342ccd9033d2606d7583c6ce307d327
@@ -38,10 +38,10 @@ module UserMgmt
38
38
  def send_password_reset
39
39
  response = reset_password params[:user][:reset_token], params[:user][:new_pw], params[:user][:new_pw_confirm]
40
40
  if response[:status] == "200"
41
- flash[:success] = response[:body]
41
+ flash[:success] = "Password reset succesfully!"
42
42
  redirect_to log_in_path
43
43
  else
44
- flash[:error] = response[:status]
44
+ flash[:error] = "Password could not be updated. Please try again later."
45
45
  redirect_to password_reset_path
46
46
  end
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "2.1.4"
2
+ VERSION = "2.1.5"
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: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Faria, Fernando Gorodscy, Josh Leslie