mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FIX: redirect to original URL after social signup
This commit is contained in:
@ -69,6 +69,8 @@ class Auth::Result
|
||||
email_valid: !!email_valid,
|
||||
omit_username: !!omit_username }
|
||||
|
||||
result[:destination_url] = destination_url if destination_url.present?
|
||||
|
||||
if SiteSetting.enable_names?
|
||||
result[:name] = User.suggest_name(name || username || email)
|
||||
end
|
||||
|
Reference in New Issue
Block a user