mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-16 13:04:34 +00:00
remove auth from token
This commit is contained in:
@@ -35,10 +35,6 @@ type Streams struct {
|
||||
Time func() time.Time
|
||||
}
|
||||
|
||||
func (t *Token) Key() string {
|
||||
return fmt.Sprintf("%s:%s", t.Account, t.Token)
|
||||
}
|
||||
|
||||
func getAccount(acc *auth.Account) string {
|
||||
owner := acc.Metadata["apikey_owner"]
|
||||
if len(owner) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user