mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 05:41:52 +09:00
Disable the API field for staff members (#407)
This commit is contained in:
1 parent
1769db8174
commit
dacd817e95
1 file changed
+3
-1
@@ -171,7 +171,8 @@
|
||||
<div class="card-body">
|
||||
<h3>{{ 'API key'|trans }}</h3>
|
||||
<p class="text-muted">{{ 'API keys are used to manage the system via other interfaces.'|trans }}</p>
|
||||
|
||||
<p class="text-muted">{{ 'As of this time, staff members can only change their own API keys from within their'|trans }} <a href="{{ '/admin/staff/profile'|alink }}">profile</a></p>
|
||||
<!--
|
||||
<form method="post" action="admin/profile/generate_api_key" class="api-form" data-api-reload="1">
|
||||
<div class="mb-3 row">
|
||||
<label class="form-label col-3 col-form-label">{{ 'API key'|trans }}</label>
|
||||
@@ -183,6 +184,7 @@
|
||||
<input type="hidden" name="id" value="{{ staff.id }}">
|
||||
<input type="submit" value="{{ 'Generate new key'|trans }}" class="btn btn-primary w-100">
|
||||
</form>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user