Home | History | Annotate | Download | only in frontend

Lines Matching refs:username

19     def authenticate(self, username=None, password=None):
21 user = User.objects.get(username=username)
24 user = User(username=username,
31 SimpleAuthBackend.check_afe_user(username)
36 def check_afe_user(username):
37 user, created = models.User.objects.get_or_create(login=username)
51 REMOTE_USER in headers and passed the username found to
53 HTTP_AUTHORIZATION header with username (this allows CLI to authenticate).
58 # look for a username from Apache
73 system, and replaces the username in thread_local with the actual User model
80 username = thread_local.get_user()
82 user_object = auth.authenticate(username=username,
85 thread_local.set_user(models.User.objects.get(login=username))