mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-03 17:14:14 -04:00
Rip out more refresh_token code
We might as well treat all refresh_tokens as invalid. Just return a 403 from /tokenrefresh, so that we don't have a load of dead, untestable code hanging around. Still TODO: removing the table from the schema.
This commit is contained in:
parent
dc4b23e1a1
commit
aa09d6b8f0
7 changed files with 5 additions and 160 deletions
|
@ -120,7 +120,6 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
self._transaction_id_gen = IdGenerator(db_conn, "sent_transactions", "id")
|
||||
self._state_groups_id_gen = IdGenerator(db_conn, "state_groups", "id")
|
||||
self._access_tokens_id_gen = IdGenerator(db_conn, "access_tokens", "id")
|
||||
self._refresh_tokens_id_gen = IdGenerator(db_conn, "refresh_tokens", "id")
|
||||
self._event_reports_id_gen = IdGenerator(db_conn, "event_reports", "id")
|
||||
self._push_rule_id_gen = IdGenerator(db_conn, "push_rules", "id")
|
||||
self._push_rules_enable_id_gen = IdGenerator(db_conn, "push_rules_enable", "id")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue