Login required on modals
* adds new login_required_modal decorator
* can be used before regular login_required decorator to return a proper session-timed-out message
This commit is contained in:
3
templates/modal/modal_session_timed_out.html
Normal file
3
templates/modal/modal_session_timed_out.html
Normal file
@@ -0,0 +1,3 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% trans 'Your session has timed out. Please reload the page to login.' %}
|
||||
Reference in New Issue
Block a user