scottmotte-merb_auth_slice_multisite 0.7.2 → 0.7.3

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.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 7
4
- :patch: 2
4
+ :patch: 3
@@ -11,10 +11,9 @@ class MerbAuthSliceMultisite::Passwords < MerbAuthSliceMultisite::Application
11
11
  @user.password = @user.password_confirmation = new_generated_password
12
12
  send_mail(MerbAuthSliceMultisite::SendPasswordMailer, :send_password, { :subject => (MerbAuthSliceMultisite[:send_password_subject] || "Forgetful? :)"), :from => from, :to => @user.email }, { :user => @user })
13
13
  @user.save
14
- redirect "/", :message => {:notice => "Password sent".t}
14
+ redirect "/", :message => {:notice => "Password sent. Check your email."}
15
15
  else
16
- message[:error] = "User with #{@login_param} \"%s\" not found".t(params[@login_param].freeze)
17
- render :forgot_password
16
+ redirect "/", :message => {:error => "User with #{@login_param} \"%s\" not found".t(params[@login_param].freeze)}
18
17
  end
19
18
  end
20
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scottmotte-merb_auth_slice_multisite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - scottmotte