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 4a132e0 commit 00a7effCopy full SHA for 00a7eff
cmd/users.go
@@ -56,7 +56,7 @@ func (a *App) CreateUser(c echo.Context) error {
56
57
u.Username = strings.TrimSpace(u.Username)
58
u.Name = strings.TrimSpace(u.Name)
59
- email := strings.TrimSpace(u.Email.String)
+ email := strings.ToLower(strings.TrimSpace(u.Email.String))
60
61
// Validate fields.
62
if !strHasLen(u.Username, 3, stdInputMaxLen) {
@@ -111,7 +111,7 @@ func (a *App) UpdateUser(c echo.Context) error {
111
112
113
114
115
116
117
0 commit comments