diff --git a/internal/backends/memory/user.go b/internal/backends/memory/user.go index 633ead6..3a87bd9 100644 --- a/internal/backends/memory/user.go +++ b/internal/backends/memory/user.go @@ -1,7 +1,6 @@ package memory type User struct { - id string name string password string Tokens map[string]Token @@ -10,7 +9,7 @@ type User struct { } func (user *User) ID() string { - return "@" + user.id + ":" + user.backend.hostname + return "@" + user.name + ":" + user.backend.hostname } func (user *User) Name() string {