lobby 0.0.20 → 0.0.21
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.
@@ -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