mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-13 17:05:00 +00:00
9 lines
224 B
Python
9 lines
224 B
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
from django.shortcuts import reverse, redirect
|
|
|
|
|
|
def redirect_to_guard_view(comment=''):
|
|
continue_url = reverse('authentication:login-guard') + '?_=' + comment
|
|
return redirect(continue_url)
|