lobby 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module Lobby
16
16
  end
17
17
 
18
18
  def order_new_password
19
- if params[:email]
19
+ if params[:email].present?
20
20
  @user = User.where( :email => params[:email] ).first
21
21
  if @user
22
22
  @user.send_password_reset
@@ -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 "*******************************"
data/lib/lobby/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lobby
2
- VERSION = "0.0.21"
2
+ VERSION = "0.0.22"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Lobby
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
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.21
4
+ version: 0.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: