RemoteUserBackend.authenticate(remote_user)
The username passed as remote_user
is considered trusted. This method simply returns the User
object with the given username, creating a new User
object if create_unknown_user
is True
.
Returns None
if create_unknown_user
is False
and a User
object with the given username is not found in the database.
Please login to continue.