mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
If its a unknown keytype and CAK is enabled, assume its CAK
This commit is contained in:
@@ -70,7 +70,7 @@ class EVEAccount(EVEAPIModel):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def is_cak(self):
|
def is_cak(self):
|
||||||
return self.api_keytype in [API_KEYTYPE_CHARACTER, API_KEYTYPE_CORPORATION, API_KEYTYPE_ACCOUNT]
|
return self.api_keytype in [API_KEYTYPE_UNKNOWN, API_KEYTYPE_CHARACTER, API_KEYTYPE_CORPORATION, API_KEYTYPE_ACCOUNT]
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
app_label = 'eve_api'
|
app_label = 'eve_api'
|
||||||
|
|||||||
Reference in New Issue
Block a user