mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FIX: Resend activation email was busted
This commit is contained in:
@ -302,7 +302,7 @@ class UsersController < ApplicationController
|
||||
end
|
||||
|
||||
def send_activation_email
|
||||
@user = fetch_user_from_params
|
||||
@user = fetch_user_from_params(include_inactive: true)
|
||||
@email_token = @user.email_tokens.unconfirmed.active.first
|
||||
enqueue_activation_email if @user
|
||||
render nothing: true
|
||||
|
Reference in New Issue
Block a user