[MM-59069] Make sure OTP are actual One Time Password (#28074)
Automatic Merge
Этот коммит содержится в:
@@ -41,8 +41,11 @@ const (
|
||||
|
||||
var ErrMaxPropSizeExceeded = fmt.Errorf("max prop size of %d exceeded", maxPropSizeBytes)
|
||||
|
||||
//msgp:ignore StringInterface StringSet
|
||||
type StringInterface map[string]any
|
||||
type StringSet map[string]struct{}
|
||||
|
||||
//msgp:tuple StringArray
|
||||
type StringArray []string
|
||||
|
||||
func (ss StringSet) Has(val string) bool {
|
||||
@@ -228,6 +231,7 @@ func AppErrorInit(t i18n.TranslateFunc) {
|
||||
})
|
||||
}
|
||||
|
||||
//msgp:ignore AppError
|
||||
type AppError struct {
|
||||
Id string `json:"id"`
|
||||
Message string `json:"message"` // Message to be display to the end user without debugging information
|
||||
|
||||
Ссылка в новой задаче
Block a user