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
|
19
|
+
<% if options[:skip_activation].empty? %>
|
20
20
|
elsif @user && !@user.active?
|
21
21
|
@user.deliver_activation_instructions!
|
22
22
|
flash[:error] = 'Activation needed'
|