fixed a bug

This commit is contained in:
2026-09-23 10:16:32 +08:00
parent c2028c7e6d
commit 80bfd880ad
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ DB_PATH = Path(os.environ.get("GROUP_DB", BASE_DIR / "selfgroup.db"))
XLSX_PATH = Path(os.environ.get("GROUP_XLSX", BASE_DIR / "2025mt.xlsx"))
STATIC_DIR = BASE_DIR / "static"
TEACHER_USER = os.environ.get("TEACHER_USER", "teacher")
TEACHER_PASSWORD = os.environ.get("TEACHER_PASSWORD", "teacher!@#")
TEACHER_PASSWORD = os.environ.get("TEACHER_PASSWORD", "t")
GROUP_LIMIT = 6
SESSION_DAYS = 7
MAX_JSON_BYTES = 1024 * 1024

View File

@@ -26,7 +26,7 @@
<input id="password" type="password" autocomplete="current-password" required>
<button class="full" data-working type="submit">登录后台</button>
<div class="notice" id="loginNotice"></div>
<p class="hint">默认账号 teacher,默认密码 teacher!@#。首次使用后请及时修改密码。</p>
<p class="hint">默认账号 teacher,默认密码 teacher123。首次使用后请及时修改密码。</p>
</form>
</div>