diff --git a/accountant/views/users.py b/accountant/views/users.py index e92f613..f7489ad 100644 --- a/accountant/views/users.py +++ b/accountant/views/users.py @@ -10,19 +10,6 @@ from flask_restplus import Namespace, Resource, fields from ..models.users import User -def load_user_from_token(token): - """Load user from token.""" - - return User.verify_auth_token(token) - - -def load_user_from_auth(auth): - """Load a user from authenticated session.""" - - token = auth.replace('Bearer ', '', 1) - return load_user_from_token(token) - - # pylint: disable=invalid-name ns = Namespace('user', description='User management')