Changeset - b92c2e4324b0
default
0
3
0
auth: remove redundant AuthUser constructor arguments
AuthUser looks up the user based on the first of `user_id`, `api_key`
and `username` that is not None *and* does not refer to the default
(anonymous) user. In practice, the arguments always refer to the same
user, so there's no point in specifying more than one of them.
AuthUser looks up the user based on the first of `user_id`, `api_key`
and `username` that is not None *and* does not refer to the default
(anonymous) user. In practice, the arguments always refer to the same
user, so there's no point in specifying more than one of them.
3 files changed with 2 insertions and 4 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)