Commit Graph

6 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
Fosco Marotto 5e7cec5345 Change logout deletion method. 2021-02-14 21:26:48 -05:00
Fosco Marotto 7a2594e105 Add writing role for some moderation classes, update verification method. 2021-02-11 18:34:04 -05:00
Free Speech Forever 473c48b2aa Replace Makara with an initial Rails 6 role based splitting method. 2021-02-09 19:38:10 +00:00
Fosco Marotto 05e95cf090 [session_activations] Stop needless updated_at changes 2021-01-27 16:08:39 -05:00
robcolbert bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00