This commit is contained in:
copyrighttxt
2026-08-04 17:57:44 -04:00
committed by GitHub
parent 872a2ffe2b
commit a176948ecb
+2 -2
View File
@@ -13,7 +13,7 @@ from app.pages.login.login import CreateLoginRecord
config = Config()
AuthenticationRoute = Blueprint('authentication', __name__, url_prefix='/')
@AuthenticationRoute.route('/Login/Negotiate.ashx', methods=['GET'])
@AuthenticationRoute.route('/Login/Negotiate.ashx', methods=['GET', 'POST'])
def loginNegotiate():
AuthenticationTicket = request.args.get(
key = 'suggest',
@@ -94,7 +94,7 @@ def gameGetCurrentUser():
return "Bad Request", 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")
def loginRequestAuth():
AuthenticatedUser : User = auth.GetCurrentUser()