Fix for LDAP auth failing when LDAP email has a leading space

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

Created by: JJWTimmer

Easy fix: after getting the leading part from the email, use .strip() Fixes #1603 (closed) for me

合并请求报告