Fix authentication backends.

Review Request #10045 — Created June 28, 2018 and submitted

Information

Review Board
release-3.0.x
b54e827...

Reviewers

BaseAuthBackend.get_user() was removed with commit:

a12a370fd - Modernize the documentation for BaseAuthBackend.

The function is called by Django when the user is authenticated and
therefore required.

Also, the Active Directory backend needed fixing.

  • Created Docker container form easybe/alpine-reviewboard:wip
  • Successfully logged in with Active Directory credentials
Description From Last Updated

F821 undefined name 'get_object_or_none'

reviewbotreviewbot

F821 undefined name 'User'

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

easyb
easyb
  1. 
      
  2. reviewboard/accounts/backends/base.py (Diff revision 2)
     
     

    Or should this be implemented in the deriving classes?

  3. 
      
easyb
easyb
chipx86
  1. Ship It!
  2. 
      
easyb
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (4a35952)