Backup/Restore + Nadel mit QR, Debug Firebase
This commit is contained in:
1 parent
4c8b11c4d5
commit
c51ef02f88
16 files changed
+634
-7
No files matched your search
@@ -5,6 +5,7 @@ from flask import Blueprint, make_response, render_template, g
|
||||
from cmbnet.auth import role_required
|
||||
from cmbnet.db import get_db
|
||||
from cmbnet.services.api_token_service import ApiTokenService
|
||||
from cmbnet.admin.backup import collect_config_items
|
||||
|
||||
admin_accounts_bp = Blueprint('admin', __name__)
|
||||
|
||||
@@ -15,7 +16,8 @@ def dashboard(**kwargs):
|
||||
"""Admin Dashboard"""
|
||||
response = make_response(render_template(
|
||||
'admin/dashboard.html',
|
||||
api_tokens=ApiTokenService.list_for_tenant(g.tenant_id)
|
||||
api_tokens=ApiTokenService.list_for_tenant(g.tenant_id),
|
||||
config_items=collect_config_items()
|
||||
))
|
||||
# Die Seite enthält Zugriffstoken und darf nicht im Browser-Cache landen.
|
||||
response.headers['Cache-Control'] = 'no-store'
|
||||
|
||||
Reference in new issue
Block a user