Trimming login input on the server-side as well
This commit is contained in:
@@ -393,8 +393,9 @@ namespace Umbraco.Web.Editors
|
||||
UpdateName(contentItem);
|
||||
|
||||
//map the custom properties - this will already be set for new entities in our member binder
|
||||
contentItem.PersistedContent.Email = contentItem.Email;
|
||||
contentItem.PersistedContent.Username = contentItem.Username;
|
||||
contentItem.PersistedContent.Email = contentItem.Email;
|
||||
//trim the username as we do not want trailing space - issue U4-10589
|
||||
contentItem.PersistedContent.Username = contentItem.Username.Trim();
|
||||
|
||||
//use the base method to map the rest of the properties
|
||||
base.MapPropertyValues(contentItem);
|
||||
|
||||
Reference in New Issue
Block a user