From 027abd065865dde576e78b73bb5b1ace605f9cb0 Mon Sep 17 00:00:00 2001 From: Matthew Scragg Date: Fri, 13 Nov 2015 17:04:47 -0600 Subject: [PATCH] remove tokengetter callback --- realms/modules/auth/oauth/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/realms/modules/auth/oauth/models.py b/realms/modules/auth/oauth/models.py index e8a9492..3295db8 100644 --- a/realms/modules/auth/oauth/models.py +++ b/realms/modules/auth/oauth/models.py @@ -82,10 +82,6 @@ providers = { } } -@oauth.tokengetter -def get_token(provider): - return session.get(provider + "_token") - class User(BaseUser): type = 'oauth' provider = None