mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
FIX: send activation email when accepting invite if password is set
This commit is contained in:
@ -797,7 +797,7 @@ class User < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def find_email
|
||||
last_sent_email_address || email
|
||||
last_sent_email_address.present? && EmailValidator.email_regex =~ last_sent_email_address ? last_sent_email_address : email
|
||||
end
|
||||
|
||||
def tl3_requirements
|
||||
|
Reference in New Issue
Block a user