Yeah
This commit is contained in:
@@ -13,7 +13,7 @@ from app.pages.login.login import CreateLoginRecord
|
|||||||
config = Config()
|
config = Config()
|
||||||
AuthenticationRoute = Blueprint('authentication', __name__, url_prefix='/')
|
AuthenticationRoute = Blueprint('authentication', __name__, url_prefix='/')
|
||||||
|
|
||||||
@AuthenticationRoute.route('/Login/Negotiate.ashx', methods=['GET'])
|
@AuthenticationRoute.route('/Login/Negotiate.ashx', methods=['GET', 'POST'])
|
||||||
def loginNegotiate():
|
def loginNegotiate():
|
||||||
AuthenticationTicket = request.args.get(
|
AuthenticationTicket = request.args.get(
|
||||||
key = 'suggest',
|
key = 'suggest',
|
||||||
@@ -94,7 +94,7 @@ def gameGetCurrentUser():
|
|||||||
return "Bad Request", 200
|
return "Bad Request", 200
|
||||||
return str(AuthenticatedUser.id), 200
|
return str(AuthenticatedUser.id), 200
|
||||||
|
|
||||||
@AuthenticationRoute.route('/login/RequestAuth.ashx', methods=['GET'])
|
@AuthenticationRoute.route('/login/RequestAuth.ashx', methods=['GET', 'POST'])
|
||||||
@limiter.limit("6/minute")
|
@limiter.limit("6/minute")
|
||||||
def loginRequestAuth():
|
def loginRequestAuth():
|
||||||
AuthenticatedUser : User = auth.GetCurrentUser()
|
AuthenticatedUser : User = auth.GetCurrentUser()
|
||||||
|
|||||||
Reference in New Issue
Block a user