DEV: Add missing parenthesis for 47ad2a4d
This commit is contained in:
parent
0a6cae654b
commit
b084d6c8df
|
@ -91,7 +91,7 @@ class Auth::ManagedAuthenticator < Auth::Authenticator
|
|||
result = Auth::Result.new
|
||||
info = auth_token[:info]
|
||||
result.email = info[:email]
|
||||
result.name = info[:first_name] && info[:last_name] ? "#{info[:first_name]} #{info[:last_name]}" : info[:name]
|
||||
result.name = (info[:first_name] && info[:last_name]) ? "#{info[:first_name]} #{info[:last_name]}" : info[:name]
|
||||
result.username = info[:nickname]
|
||||
result.email_valid = primary_email_verified?(auth_token) if result.email
|
||||
result.extra_data = {
|
||||
|
|
Loading…
Reference in New Issue