Force user email to lower case. Include action on all forms.

This commit is contained in:
mikestefanello 2021-12-25 21:30:22 -05:00
parent 1ccb0cad1a
commit eafde27809
14 changed files with 100 additions and 50 deletions

View file

@ -338,5 +338,6 @@ func (c *UserClient) QueryOwner(u *User) *PasswordTokenQuery {
// Hooks returns the client hooks.
func (c *UserClient) Hooks() []Hook {
return c.hooks.User
hooks := c.hooks.User
return append(hooks[:len(hooks):len(hooks)], user.Hooks[:]...)
}