perf: 优化跳转接口参数

pull/11776/head
jiangweidong 2023-10-09 18:55:05 +08:00 committed by Bryan
parent 95e7bde5d7
commit 11157563ba
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class ThirdPartyLoginMiddleware(mixins.AuthMixin):
'title': _('Authentication failed'),
'message': _('Authentication failed (before login check failed): {}').format(e),
'interval': 10,
'redirect_url': reverse('authentication:login') + '?admin=0',
'redirect_url': reverse('authentication:login') + '?admin=1',
'auto_redirect': True,
}
response = render(request, 'authentication/auth_fail_flash_message_standalone.html', context)