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() 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()