innetra-easy_authentication 2.0.1 → 2.0.2
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/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('easy_authentication', '2.0.
|
5
|
+
Echoe.new('easy_authentication', '2.0.2') do |e|
|
6
6
|
e.description = "Easy Role Authentication for Ruby on Rails 2.2 (i18n)"
|
7
7
|
e.url = "http://github.com/innetra/easy_authentication"
|
8
8
|
e.author = "Ivan Torres"
|
data/easy_authentication.gemspec
CHANGED
@@ -42,7 +42,7 @@ class UserPasswordController < ApplicationController
|
|
42
42
|
def send_password_token
|
43
43
|
|
44
44
|
if user = User.reset_password(params[:login])
|
45
|
-
flash[:notice] = t("user_password.send_password_token.flash.sent", :name =>
|
45
|
+
flash[:notice] = t("user_password.send_password_token.flash.sent", :name => user.first_name, :email => user.email)
|
46
46
|
else
|
47
47
|
flash[:error] = t("user_password.send_password_token.flash.error")
|
48
48
|
end
|