Skip to content

Commit

Permalink
Update admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Char-Al authored Nov 7, 2023
1 parent 3e87d16 commit 69e18b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seal/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def inaccessible_callback(self, name, **kwargs):
Returns:
redirect: A Flask redirect to the login page.
"""
return redirect(url_for('login', next=request.url))
return redirect(url_for('login', next=request.full_path))

def is_visible(self):
# This view won't appear in the menu structure
Expand Down Expand Up @@ -162,7 +162,7 @@ def inaccessible_callback(self, name, **kwargs):
Returns:
redirect: A Flask redirect to the login page.
"""
return redirect(url_for('login', next=request.url))
return redirect(url_for('login', next=request.full_path))


class SampleView(CustomView):
Expand Down

0 comments on commit 69e18b8

Please sign in to comment.