Gitlab Community Edition Instance

Skip to content

clean_username

clean_username from django.contrib.auth.backends is used but the default behaviour of this function is to return the usernam unchanged. see https://github.com/django/django/blob/ee37d2070a985073bff3715448535e7fe2351bbc/django/contrib/auth/backends.py#L213