DEV: Add missing parenthesis for 47ad2a4d

This commit is contained in:
David Taylor 2019-07-24 11:29:18 +01:00
parent 0a6cae654b
commit b084d6c8df
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {