Development

This commit is contained in:
Matthew Grotke 2026-05-24 00:47:43 -04:00
parent 62fe75d7fd
commit c5d1c7890a
10 changed files with 24 additions and 21 deletions

View file

@ -2,12 +2,11 @@ from flask import Blueprint, request, session, redirect, flash
import json, re
from datetime import datetime, timezone
from auth import require_level
from config_utils import ACCOUNTS_FILE
import sanitize
bp = Blueprint('action_add_account', __name__)
DATA_DIR = '/data'
ACCOUNTS_FILE = f'{DATA_DIR}/authorized_accounts.json'
VALID_LEVELS = {'viewer', 'administrator', 'manager'}