fix: create profile for single-login-exempt users; add group exemption test
Exempt users returned early before UserProfile.objects.get_or_create, so users without a profile never got one created on login while PREVENT_CONCURRENT_LOGINS was enabled. Move the exemption check to only skip set_login_session, and add coverage for SINGLE_LOGIN_EXEMPT_GROUPS and for client1 remaining authenticated after a concurrent login.
T
Tobias Macey committed
f677d669c793a25c0c313ef7c31327771d60dd9d
Parent: c54a4b5
Committed by Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
on 7/20/2026, 7:46:43 AM