mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
refctor: change active users query
This commit is contained in:
@ -38,6 +38,11 @@ type TimeByUser struct {
|
||||
Time CustomTime
|
||||
}
|
||||
|
||||
type CountByUser struct {
|
||||
User string
|
||||
Count int64
|
||||
}
|
||||
|
||||
func (c *CredentialsReset) IsValid() bool {
|
||||
return validatePassword(c.PasswordNew) &&
|
||||
c.PasswordNew == c.PasswordRepeat
|
||||
|
Reference in New Issue
Block a user