Closed qwerin closed 3 years ago
Hello, thank you for contributing to Naja! Unfortunately, this particular behaviour that you're adding has been deliberately removed in 2.0. Please refer to #26 and #47 for reasoning and discussion.
No nevím v mém use case kdy client chce udelat nejakou upravu a server mu vrati ze mu vyprsel logon session a musi se znovu prihlasit tzn. presmeruje na logon page. Takze bych musel mit na vsechny ajax dotazy mit force. Na to budu muset asi napsat extension. Tohle mi prislo fajn elegatni reseni ktere defakto nezasaguje moc do fuknci naji ale je asi v rozporu s politikou. Co uz.
Teď to samé také řeším. Vyprší session přihlášení, nette redirectuje na Sign:in ale ten není ajaxový je úplně oddělený. Jak to řešit jinak než přes extension, která vrátí chování forceRedirectu? Neco jako disallowedOrigins by to mohlo řešit ne?
Teď to samé také řeším. Vyprší session přihlášení, nette redirectuje na Sign:in ale ten není ajaxový je úplně oddělený. Jak to řešit jinak než přes extension, která vrátí chování forceRedirectu? Neco jako disallowedOrigins by to mohlo řešit ne?
já po uplynutí času volám rovnou: naja.redirectHandler.makeRedirect({link :Front:Auth:SignIn:}, true);
Codecov Report
97.50% <ø> (ø)
69.23% <0.00%> (ø)
Continue to review full report at Codecov.