Documentation ¶
Index ¶
- func AddPasswordResetToken(dbMap *gorp.DbMap, email string) (*models.User, error)
- func EmailChangeComplete(dbMap *gorp.DbMap, token string) error
- func EmailChangeTokenExists(dbMap *gorp.DbMap, token string) (*models.EmailChange, error)
- func EmailExists(dbMap *gorp.DbMap, email string) (*models.User, error)
- func EmailVerificationComplete(dbMap *gorp.DbMap, token string) error
- func EmailVerificationTokenExists(dbMap *gorp.DbMap, token string) (*models.User, error)
- func Login(dbMap *gorp.DbMap, email string, password string) (*models.User, error)
- func Parse(t *template.Template, name string, data interface{}) string
- func PasswordResetTokenDelete(dbMap *gorp.DbMap, token string) error
- func PasswordResetTokenExists(dbMap *gorp.DbMap, token string) (*models.PasswordReset, error)
- func PasswordValidById(dbMap *gorp.DbMap, id int64, password string) (*models.User, error)
- func UpdateUserPasswordById(dbMap *gorp.DbMap, id int64, password []byte) (*models.User, error)
- func UserIDExists(dbMap *gorp.DbMap, userid int64) (*models.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPasswordResetToken ¶
func EmailChangeComplete ¶
func EmailChangeTokenExists ¶
func EmailChangeTokenExists(dbMap *gorp.DbMap, token string) (*models.EmailChange, error)
func PasswordResetTokenExists ¶
func PasswordResetTokenExists(dbMap *gorp.DbMap, token string) (*models.PasswordReset, error)
func PasswordValidById ¶
func UpdateUserPasswordById ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.