mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
session_user_id read the user id out of the session row as it was, so a session cookie that Django no longer accepts (the user's password changed, or the user was deactivated) still matched a console token of its user in novncd and socketiod. It now asks django.contrib.auth.get_user, which checks the session's password hash and that the user may sign in. The serial console tests built sessions by hand with only the user id; they now sign in with force_login, as the panel does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| daemons.py | ||
| test_consolecallback.py | ||
| test_layouts.py | ||
| test_live_serial.py | ||
| test_novncd.py | ||
| test_socketiod.py | ||
| test_socketiod_child.py | ||
| test_sshtunnels.py | ||
| test_views.py | ||