mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
OAuth: ApiV1Controller must check_for_bearer_token
This commit is contained in:
@@ -26,6 +26,9 @@ from r2.controllers.oauth2 import OAuth2ResourceController, require_oauth2_scope
|
||||
from r2.lib.jsontemplates import IdentityJsonTemplate
|
||||
|
||||
class APIv1Controller(OAuth2ResourceController):
|
||||
def pre(self):
|
||||
self.check_for_bearer_token()
|
||||
|
||||
def try_pagecache(self):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user