mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 12:04:15 +00:00
7 lines
196 B
Python
7 lines
196 B
Python
from django.contrib.auth.backends import RemoteUserBackend
|
|
|
|
class MyRemoteUserBackend(RemoteUserBackend):
|
|
def configure_user(self, user):
|
|
user.is_superuser = True
|
|
return user
|
|
|