resend mail bug fix #9
@ -139,7 +139,7 @@ class UsersController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def resend_mail
|
def resend_mail
|
||||||
if (@user.is?(current_user) || mod) && !confirmed?
|
if (@user.is?(current_user) || mod?) && !@user.confirmed?
|
||||||
RedstonerMailer.register_mail(@user, false).deliver_now
|
RedstonerMailer.register_mail(@user, false).deliver_now
|
||||||
flash[:notice] = "Check your inbox for the confirmation mail."
|
flash[:notice] = "Check your inbox for the confirmation mail."
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user