From a719065b8d8d24c0d5b7c1ce10ea3e112b6e1c39 Mon Sep 17 00:00:00 2001
From: advplyr <advplyr@protonmail.com>
Date: Tue, 28 Nov 2023 16:37:19 -0600
Subject: [PATCH] Auto formatting

---
 server/Auth.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/Auth.js b/server/Auth.js
index 96a2bc9e..57792177 100644
--- a/server/Auth.js
+++ b/server/Auth.js
@@ -379,7 +379,7 @@ class Auth {
         }
       }
 
-      function passportCallback(req, res, next) { 
+      function passportCallback(req, res, next) {
         return (err, user, info) => {
           const isMobile = req.session[sessionKey]?.mobile === true
           if (err) {
@@ -390,7 +390,7 @@ class Auth {
             // Info usually contains the error message from the SSO provider
             return handleAuthError(isMobile, 401, 'Unauthorized', `[Auth] No data in openid callback - ${info}`, info?.response)
           }
-        
+
           req.logIn(user, (loginError) => {
             if (loginError) {
               return handleAuthError(isMobile, 500, 'Error during login', `[Auth] Error in openid callback: ${loginError}`)