7 lines
221 B
Python
7 lines
221 B
Python
from django_cas_ng.backends import CASBackend
|
|
|
|
|
|
class BOcalCASBackend(CASBackend):
|
|
# Partly from Robin Champenois's "ExperiENS". Thanks!
|
|
def clean_username(self, username):
|
|
return username.lower().strip()
|