Force utf-8 encoding for ldap omniauth_info.name

王权利请求将github/fork/mmozuras/ldap_name_utf8合并到master

Created by: mmozuras

Hi,

I tried to configure LDAP authentication. It didn't work. I tracked it down to "incompatible character encodings" exception when trying to create a user. Fixed it by forcing utf-8 encoding on omniauth_info.name.

合并请求报告