ausocean / cloud

GNU General Public License v3.0
1 stars 1 forks source link

Bench: Check for existing token before generating new token (#158) #167

Closed ao-david closed 3 days ago

ao-david commented 5 days ago

Broadcast.go now calls AuthToken which first checks if a token for the given user already exists.

This will prevent subsequent token generations of tokens which will not have refresh tokens (as only the first token will come with a refresh token).