develon-authlogic_generator 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ class PasswordResetsController < ApplicationController
16
16
  flash[:notice] = "Instructions to reset your password have been emailed to you. " +
17
17
  "Please check your email."
18
18
  redirect_to new_user_session_path
19
- <% if !options[:skip_activation] %>
19
+ <% if options[:skip_activation].empty? %>
20
20
  elsif @user && !@user.active?
21
21
  @user.deliver_activation_instructions!
22
22
  flash[:error] = 'Activation needed'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: develon-authlogic_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Dal Grande