tty1 ˆ ƒB_•I|¥‰ÓMdœv ©ƒ&íK<óo¬À¿ W
| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| mime/ | 2026-01-09 04:52 | - | ||
| socket/ | 2026-01-09 04:52 | - | ||
You don't have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
! ˆl–ß=¿JJj"Tâ�À9p,©‹FÿÅ 0Äàˆ¾Å 0Äàˆ¾Å 0Äà� 355¿Ã cThe requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
: ˆl–ß=¿JJj"Tâ� Áãm)‹FÿÆ ƒh¹Åa–ß=¿JJj"Tâ�À9p-)‹FÿÄ N � 355Á¾Ä cThe requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
/ ˆl–Ðz¾”d*hŠm@Šão\m•1hßÈ ƒO½_‹I|¥Žƒî4ÃVŸÀÆ Â import { useLayoutEffect } from '@wordpress/element'; import { useNavigate } from 'react-router-dom'; import { toast } from '@bsf/force-ui'; import { __ } from '@wordpress/i18n'; const AuthCodeDisplay = () => { const navigate = useNavigate(); const redirectToGmailConnectionDrawer = () => { setTimeout( () => { navigate( '/connections', { state: { openDrawer: true, selectedProvider: 'GMAIL', }, } ); }, 300 ); }; const cleanUrlToDashboard = () => { window.history.replaceState( {}, '', suremails.adminURL + '#/dashboard' ); }; useLayoutEffect( () => { const stored = localStorage.getItem( 'formStateValuesTimestamp' ); if ( ! stored ) { return; } const storedFormStateTimeStamp = parseInt( stored, 10 ); const currentTime = Date.now(); if ( currentTime > storedFormStateTimeStamp ) { localStorage.removeItem( 'formStateValues' ); localStorage.removeItem( 'formStateValuesTimestamp' ); return; } const urlParams = new URLSearchParams( window.location.search ); const state = urlParams.get( 'state' ); if ( ! state || state !== 'gmail' ) { cleanUrlToDashboard(); toast.error( __( 'Authorization Failed', 'suremails' ), { description: __( 'Invalid state parameter. Please try again.', 'suremails' ), autoDismiss: false, } ); redirectToGmailConnectionDrawer(); return; } const code = urlParams.get( 'code' ); if ( code ) { const storedFormState = JSON.parse( localStorage.getItem( 'formState