Force URLs and e-mail to be lowercase (#45)
- Added v2.2 migration to lower existing e-mails
This commit is contained in:
@@ -937,7 +937,7 @@ type EditUserModel = {
|
||||
member this.UpdateUser (user: WebLogUser) =
|
||||
{ user with
|
||||
AccessLevel = AccessLevel.Parse this.AccessLevel
|
||||
Email = this.Email
|
||||
Email = this.Email.ToLowerInvariant()
|
||||
Url = noneIfBlank this.Url
|
||||
FirstName = this.FirstName
|
||||
LastName = this.LastName
|
||||
|
||||
Reference in New Issue
Block a user