mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
UserSync: Avoid UpdateLastSeenAt with invalid user ids (#72776)
* avoid user zero * more errors * more tests * split
This commit is contained in:
@@ -26,6 +26,7 @@ var (
|
||||
ErrProtectedUser = errors.New("cannot adopt protected user")
|
||||
ErrNoUniqueID = errors.New("identifying id not found")
|
||||
ErrLastSeenUpToDate = errors.New("last seen is already up to date")
|
||||
ErrUpdateInvalidID = errors.New("unable to update invalid id")
|
||||
)
|
||||
|
||||
type User struct {
|
||||
|
||||
Reference in New Issue
Block a user