MCPcopy Create free account
hub / github.com/netlify/gotrue / SetEmail

Method SetEmail

models/user.go:183–186  ·  view source on GitHub ↗
(tx *storage.Connection, email string)

Source from the content-addressed store, hash-verified

181}
182
183func (u *User) SetEmail(tx *storage.Connection, email string) error {
184 u.Email = email
185 return tx.UpdateOnly(u, "email")
186}
187
188// hashPassword generates a hashed password from a plaintext string
189func hashPassword(password string) (string, error) {

Callers 1

adminUserUpdateMethod · 0.80

Calls 1

UpdateOnlyMethod · 0.80

Tested by

no test coverage detected