lobby 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,7 @@ module Lobby
|
|
19
19
|
if params[:email]
|
20
20
|
@user = User.where( :email => params[:email] ).first
|
21
21
|
if @user
|
22
|
-
@user.
|
22
|
+
@user.send_password_reset
|
23
23
|
# nothing special. Send always the same notice. so you can prevent from e-mail-guessing.
|
24
24
|
else
|
25
25
|
puts "*******************************"
|
@@ -18,7 +18,8 @@ module Lobby
|
|
18
18
|
def order_new_password
|
19
19
|
if params[:email]
|
20
20
|
@user = User.where( :email => params[:email] ).first
|
21
|
-
if @user
|
21
|
+
if @user
|
22
|
+
@user.send_password_rest
|
22
23
|
# nothing special. Send always the same notice. so you can prevent from e-mail-guessing.
|
23
24
|
else
|
24
25
|
puts "*******************************"
|
data/lib/lobby/version.rb
CHANGED
data/lib/lobby/version.rb~
CHANGED