mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
23 lines
374 B
Go
23 lines
374 B
Go
package models
|
|
|
|
import "errors"
|
|
|
|
var ErrInvalidEmailCode = errors.New("Invalid or expired email code")
|
|
|
|
type SendEmailCommand struct {
|
|
To []string
|
|
Template string
|
|
Data map[string]interface{}
|
|
Massive bool
|
|
Info string
|
|
}
|
|
|
|
type SendResetPasswordEmailCommand struct {
|
|
User *User
|
|
}
|
|
|
|
type ValidateResetPasswordCodeQuery struct {
|
|
Code string
|
|
Result *User
|
|
}
|