[Scummvm-git-logs] scummvm-sites multiplayer -> 3a5d8a2ef196aaff0b9ccbb684bb3343ea1c72e7

LittleToonCat noreply at scummvm.org
Mon Apr 3 05:54:45 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-sites' repo located at https://github.com/scummvm/scummvm-sites .

Summary:
3a5d8a2ef1 MULTIPLAYER: Use /new_login endpoint for logins.


Commit: 3a5d8a2ef196aaff0b9ccbb684bb3343ea1c72e7
    https://github.com/scummvm/scummvm-sites/commit/3a5d8a2ef196aaff0b9ccbb684bb3343ea1c72e7
Author: Little Cat (toontownlittlecat at gmail.com)
Date: 2023-04-03T02:54:27-03:00

Commit Message:
MULTIPLAYER: Use /new_login endpoint for logins.

Changed paths:
    lobby/database/WebAPI.js


diff --git a/lobby/database/WebAPI.js b/lobby/database/WebAPI.js
index 3dda8e5..0757a06 100644
--- a/lobby/database/WebAPI.js
+++ b/lobby/database/WebAPI.js
@@ -35,10 +35,10 @@ class WebAPI {
     }
 
     async getUser(username, password, game) {
-        const user = await this.post('/login', {token: this.token,
-                                                user: username,
-                                                pass: password,
-                                                game: game});
+        const user = await this.post('/new_login', {token: this.token,
+                                                    user: username,
+                                                    pass: password,
+                                                    game: game});
         if (user.error) {
             return user;
         }




More information about the Scummvm-git-logs mailing list