flake8
passed.
JSHint
passed.
Review Request #9821 — Created March 22, 2018 and submitted
When using the "submit-as" option when posting a review request, it
tries to callget_or_create_user()
for each auth backend. Some of
these implementations accept optional arguments, but Active Directory
makes its optional arguments required, causing crashes.This change makes the parameter truly optional and bails if it's needed
but not provided.
Unit tests pass.