mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 22:10:16 +02:00
Updates key requirements on api add form for account
This commit is contained in:
parent
cce940f9a2
commit
6bd99d10e7
@ -15,31 +15,26 @@
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<div class="row">
|
||||
<p class="text-center">
|
||||
Full API Key is required for auth services
|
||||
Member API keys require access mask {{MEMBER_API_MASK}} or greater for services.
|
||||
</p>
|
||||
|
||||
{% if MEMBER_API_ACCOUNT %}
|
||||
<p class="text-center">
|
||||
Member API keys need to be account-wide.
|
||||
</p>
|
||||
{% endif %}
|
||||
<p class="text-center">
|
||||
<a target="_blank"
|
||||
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{MEMBER_API_MASK}}">Create
|
||||
a full API key</a>
|
||||
</p>
|
||||
{% if IS_CORP %}
|
||||
<p class="text-center">
|
||||
Blue API keys require access mask {{BLUE_API_MASK}} or greater for services.
|
||||
</p>
|
||||
{% if BLUE_API_ACCOUNT %}
|
||||
<p class="text-center">
|
||||
NOTE: If you are part of the corp do not check "Blue", this is for people who are blue to the
|
||||
corp
|
||||
but are not in it. Blue access is limited.
|
||||
</p>
|
||||
{% else %}
|
||||
<p class="text-center">
|
||||
NOTE: If you are part of the alliance do not check "Blue", this is for people who are blue to the
|
||||
alliance
|
||||
but are not in it. Blue access is limited.
|
||||
BLUE API keys need to be account-wide.
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<p class="text-center"><b>Do not change the accessmask or deselect options or it will not work </b>
|
||||
</p>
|
||||
|
||||
<p class="text-center">
|
||||
<a target="_blank"
|
||||
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{BLUE_API_MASK}}">Create
|
||||
|
@ -21,10 +21,12 @@ def jabber_url(request):
|
||||
return {'JABBER_URL': settings.JABBER_URL}
|
||||
|
||||
def member_api_mask(request):
|
||||
return {'MEMBER_API_MASK': settings.MEMBER_API_MASK}
|
||||
return {'MEMBER_API_MASK': settings.MEMBER_API_MASK,
|
||||
'MEMBER_API_ACCOUNT': settings.MEMBER_API_ACCOUNT}
|
||||
|
||||
def blue_api_mask(request):
|
||||
return {'BLUE_API_MASK': settings.BLUE_API_MASK}
|
||||
return {'BLUE_API_MASK': settings.BLUE_API_MASK,
|
||||
'BLUE_API_ACCOUNT': settings.BLUE_API_ACCOUNT}
|
||||
|
||||
def domain_url(request):
|
||||
return {'DOMAIN': settings.DOMAIN, 'MUMBLE_URL': settings.MUMBLE_URL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user