// SetUnverifiedEmail checks and updates user's unverified email address.
// First return value determines whether the email was set or not.
SetUnverifiedEmail checks and updates user's unverified email address.
First return value determines whether the email was set or not.
// SetUnverifiedEmail checks and updates user ' s unverified email address . // First return value determines whether the email was set or not .
func (c *Core) SetUnverifiedEmail(e string) (bool, error) {
	if e == "" {
		return false, nil
	}
	if c.UnverifiedEmail.String == e {
		return false, nil
	}
	if err := CheckEmail(e); err != nil {
		return false, err
	}
	c.UnverifiedEmail = zero.StringFrom(e)
	return true, nil
}
func ( c * Core ) SetUnverifiedEmail ( e string ) ( bool , error ) { if e == " " { return false , nil } if c . UnverifiedEmail . String == e { return false , nil } if err := CheckEmail ( e ) ; err != nil { return false , err } c . UnverifiedEmail = zero . StringFrom ( e ) return true , nil }
SetUnverifiedEmail checks and updates user's unverified email address.
SetUnverifiedEmail checks and updates user ' s unverified email address .