AttributeError: 'User' object has no attribute 'person_in_team'
Bug #1476255 reported by
Natalia Bidart
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
Fix Released
|
Medium
|
Natalia Bidart |
Bug Description
The method authenticate_user on src/identitypro
Related branches
lp:~nataliabidart/canonical-identity-provider/user-person-in-team
- Daniel Manrique (community): Approve
- Matt Goodall (community): Approve
-
Diff: 101 lines (+41/-3)4 files modifieddjango_project/settings_base.py (+2/-0)
src/identityprovider/login.py (+14/-0)
src/identityprovider/tests/test_admin.py (+12/-3)
src/identityprovider/tests/test_models_account.py (+13/-0)
lp:~nataliabidart/canonical-identity-provider/no-django-modelbackend-auth
- Ricardo Kirkner (community): Approve
-
Diff: 123 lines (+11/-28)6 files modifieddjango_project/settings_base.py (+0/-3)
src/api/v20/auth.py (+1/-2)
src/identityprovider/auth.py (+5/-2)
src/identityprovider/login.py (+0/-10)
src/identityprovider/tests/test_admin.py (+4/-3)
src/identityprovider/tests/test_models_account.py (+1/-8)
Changed in canonical-identity-provider: | |
assignee: | nobody → Natalia Bidart (nataliabidart) |
importance: | Undecided → Medium |
status: | New → Incomplete |
Changed in canonical-identity-provider: | |
status: | Incomplete → Fix Committed |
Changed in canonical-identity-provider: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Confirmed this is being triggered by an account that had manually set up a password to the User instance instead to the account.
Removing the django. contrib. auth.backends. ModelBackend from AUTHENTICATION_ BACKENDS to avoid returning oopses instead of login errors (password mismatch).