mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Use Django auth framework instead of custom one
- Store users using Django user/group/permission model - Database is data/plinth.sqlite3 instead of data/user.sqlite3 - Use Django auth context processors in templates
This commit is contained in:
1 parent
b1406f59d3
commit
cff0f1bdf6
26 files changed
+122
-372
No files matched your search
@@ -19,12 +19,12 @@
|
||||
Plinth module for running diagnostics
|
||||
"""
|
||||
|
||||
from gettext import gettext as _
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.template.response import TemplateResponse
|
||||
from gettext import gettext as _
|
||||
|
||||
import actions
|
||||
import cfg
|
||||
from ..lib.auth import login_required
|
||||
|
||||
|
||||
def init():
|
||||
|
||||
Reference in new issue
Block a user