Commit Graph

2 Commits

Author SHA1 Message Date
Free Speech Forever
92c9092abd Avoid redundant OAuth queries when not signed in
If you aren't signed in, you don't have an auth token.
When you don't have an auth token, React was sending the headers

"Authorization: Bearer null"

This caused 5 Doorkeeper token lookups using
WHERE "oauth_access_tokens"."token" = 'null'
on the Explore page (the root of the app when not signed in).
2021-02-15 23:26:00 +00:00
robcolbert
bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00