Fix possible MFA enforcement redirect loop (#6030)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
6e31e017eb
Коммит
de3995a1ce
@@ -60,6 +60,8 @@ function preRenderSetup(callwhendone) {
|
||||
// Make sure the websockets close and reset version
|
||||
$(window).on('beforeunload',
|
||||
() => {
|
||||
// Turn off to prevent getting stuck in a loop
|
||||
$(window).off('beforeunload');
|
||||
BrowserStore.setLastServerVersion('');
|
||||
if (UserStore.getCurrentUser()) {
|
||||
AsyncClient.viewChannel('', ChannelStore.getCurrentId() || '');
|
||||
|
||||
Ссылка в новой задаче
Block a user