Removed deprecated auth api endpoint.

This commit is contained in:
Mike Grima 2016-02-16 14:57:12 -08:00
parent 35f9f59c57
commit ba666ddbfa
1 changed files with 1 additions and 4 deletions

View File

@ -9,7 +9,7 @@ import jwt
import base64 import base64
import requests import requests
from flask import g, Blueprint, current_app from flask import Blueprint, current_app
from flask.ext.restful import reqparse, Resource, Api from flask.ext.restful import reqparse, Resource, Api
from flask.ext.principal import Identity, identity_changed from flask.ext.principal import Identity, identity_changed
@ -100,9 +100,6 @@ class Login(Resource):
return dict(message='The supplied credentials are invalid'), 401 return dict(message='The supplied credentials are invalid'), 401
def get(self):
return {'username': g.current_user.username, 'roles': [r.name for r in g.current_user.roles]}
class Ping(Resource): class Ping(Resource):
""" """