Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Fixing issues with /api/v1/me #984

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion r2/r2/controllers/reddit_base.py
Expand Up @@ -1088,7 +1088,7 @@ def authenticate_with_token(self):


def check_for_bearer_token(self): def check_for_bearer_token(self):
if self._get_bearer_token(strict=False): if self._get_bearer_token(strict=False):
self.authenticate_with_token() OAuth2ResourceController.authenticate_with_token(self)
if c.oauth_user: if c.oauth_user:
c.user = c.oauth_user c.user = c.oauth_user
c.user_is_loggedin = True c.user_is_loggedin = True
Expand Down