aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/api/api0/storage.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkg/api/api0/storage.go b/pkg/api/api0/storage.go
index fdf411b..3fe7378 100644
--- a/pkg/api/api0/storage.go
+++ b/pkg/api/api0/storage.go
@@ -8,11 +8,12 @@ import (
// Account contains information about a registered account.
type Account struct {
- // UID is the player's Origin UID.
- UID uint64 // required, unique
+ // UID is the player's Origin UID. It is required and unique.
+ UID uint64
- // Username is the player's last known in-game username (their EAID).
- Username string // optional (but will usually be there)
+ // Username is the player's last known in-game username (their EAID). It is
+ // optional and case insensitive.
+ Username string
// AuthIP is the IP used for the current auth session.
AuthIP netip.Addr