From 757385173bcd8a740aaf714c793ba8b453adf440 Mon Sep 17 00:00:00 2001 From: GeekCorner <45696571+GeekCornerGH@users.noreply.github.com> Date: Tue, 24 May 2022 05:35:04 +0200 Subject: [PATCH] Update settings.js --- app/assets/js/scripts/settings.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/js/scripts/settings.js b/app/assets/js/scripts/settings.js index 8750811..9027519 100644 --- a/app/assets/js/scripts/settings.js +++ b/app/assets/js/scripts/settings.js @@ -371,13 +371,13 @@ ipcRenderer.on(MSFT_OPCODE.REPLY_LOGIN, (_, ...arguments_) => { if (Object.prototype.hasOwnProperty.call(queryMap, error)) { switchView(getCurrentView(), viewOnClose, 500, 500, () => { // TODO Dont know what these errors are. Just show them I guess. - // This is probably if you messed up the app registration with Azure. + // This is probably if you messed up the app registration with Azure. + let error = queryMap.error // Error might be 'access_denied' ? + let errorDesc = queryMap.error_description console.log('Error getting authCode, is Azure application registered correctly?') console.log(error) console.log(queryMap.error_description) - console.log('Full query map', queryMap) - let error = queryMap.error // Error might be 'access_denied' ? - let errorDesc = queryMap.error_description + console.log('Full query map: ', + queryMap) setOverlayContent( error, errorDesc,