We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a03afc commit 7a5c808Copy full SHA for 7a5c808
models/user/user.go
@@ -181,7 +181,8 @@ func (u *User) BeforeUpdate() {
181
u.MaxRepoCreation = -1
182
}
183
184
- // Organization does not need email
+ // FIXME: this email doesn't need to be in lowercase, because the emails are mainly managed by the email table with lower_email field
185
+ // This trick could be removed in new releases to display the user inputed email as-is.
186
u.Email = strings.ToLower(u.Email)
187
if !u.IsOrganization() {
188
if len(u.AvatarEmail) == 0 {
0 commit comments