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.send_password_rest
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 && @user.send_password_reset
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
@@ -1,3 +1,3 @@
1
1
  module Lobby
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Lobby
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lobby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: