diff --git a/lib/RT/Authen/ExternalAuth.pm b/lib/RT/Authen/ExternalAuth.pm index d4dc8dd..1c176bd 100644 --- a/lib/RT/Authen/ExternalAuth.pm +++ b/lib/RT/Authen/ExternalAuth.pm @@ -562,7 +562,7 @@ sub DoAuth { if ( @{ RT->Config->Get('ExternalInfoPriority') } ) { # Note that UpdateUserInfo does not care how we authenticated the user # It will look up user info from whatever is specified in $RT::ExternalInfoPriority - ($info_updated,$info_updated_msg) = RT::Authen::ExternalAuth::UpdateUserInfo($session->{'CurrentUser'}->Name); + ($info_updated,$info_updated_msg) = RT::Authen::ExternalAuth::UpdateUserInfo(utf8::decode($session->{'CurrentUser'}->Name)); } # Now that we definitely have up-to-date user information,