mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-04 08:55:40 +00:00
[Update] 基本完成登录逻辑
This commit is contained in:
8
apps/authentication/views/utils.py
Normal file
8
apps/authentication/views/utils.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
from django.shortcuts import reverse, redirect
|
||||
|
||||
|
||||
def redirect_to_guard_view():
|
||||
continue_url = reverse('authentication:login-guard')
|
||||
return redirect(continue_url)
|
Reference in New Issue
Block a user