remove auth from token

This commit is contained in:
Asim Aslam
2021-05-02 09:57:23 +01:00
parent b8877f8312
commit ac62b8b35b
3 changed files with 8 additions and 12 deletions

View File

@@ -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 {