mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-18 04:09:29 +00:00
Support for Incarna v1.1, Customizable API Keys
- Support CAK keys and their spinoffs - Add support for the Employment History data available in CharacterInfo.xml.aspx - Add a Gargoyle flag to disable backend processing when needed - Clean up a few inconsistancies with how the models are handled
This commit is contained in:
@@ -53,7 +53,7 @@ def CreateApplicationForm(user):
|
||||
if char and corp:
|
||||
if char.corporation == corp:
|
||||
raise forms.ValidationError("%s is already a member of %s" % (char, corp))
|
||||
if not char.account.api_keytype >= corp.application_config.api_required:
|
||||
if not char.account.api_keytype == corp.application_config.api_required:
|
||||
raise forms.ValidationError("%s requires a %s API key for this application" % (corp, corp.application_config.get_api_required_display()))
|
||||
|
||||
return self.cleaned_data
|
||||
|
||||
Reference in New Issue
Block a user