mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-05 22:56:20 +01:00
Added required settings to example settings.py
Added additional fields in authserviceinfos to represent username and uid
This commit is contained in:
@@ -13,9 +13,11 @@ class AuthServicesInfo(models.Model):
|
||||
mumble_password = models.CharField(max_length=254, default="")
|
||||
teamspeak3_uid = models.CharField(max_length=254, default="")
|
||||
teamspeak3_perm_key = models.CharField(max_length=254, default="")
|
||||
discord_username = models.CharField(max_length=254, default="")
|
||||
discord_uid = models.CharField(max_length=254, default="")
|
||||
main_char_id = models.CharField(max_length=64, default="")
|
||||
is_blue = models.BooleanField(default=False)
|
||||
user = models.ForeignKey(User)
|
||||
|
||||
def __str__(self):
|
||||
return self.user.username + ' - AuthInfo'
|
||||
return self.user.username + ' - AuthInfo'
|
||||
|
||||
Reference in New Issue
Block a user