gandi: use PAT token instead

https://api.gandi.net/docs/authentication/
This commit is contained in:
Girish Ramakrishnan
2024-10-08 17:06:53 +02:00
parent d68d5d5c51
commit ce5a2b1f0a
8 changed files with 141 additions and 66 deletions
+8
View File
@@ -69,6 +69,14 @@
</div>
<!-- Gandi -->
<div class="form-group" ng-class="{ 'has-error': false }" ng-show="domainConfigure.provider === 'gandi'">
<label class="control-label">{{ 'domains.domainDialog.gandiTokenType' | tr }}</label>
<select class="form-control" ng-model="domainConfigure.gandiTokenType">
<option value="ApiKey">{{ 'domains.domainDialog.gandiTokenTypeApiKey' | tr }}</option>
<option value="PAT">{{ 'domains.domainDialog.gandiTokenTypePAT' | tr }}</option>
</select>
</div>
<div class="form-group" ng-class="{ 'has-error': false }" ng-show="domainConfigure.provider === 'gandi'">
<label class="control-label">{{ 'domains.domainDialog.gandiApiKey' | tr }}</label>
<input type="text" class="form-control" ng-model="domainConfigure.gandiApiKey" name="gandiApiKey" ng-disabled="domainConfigure.busy" ng-required="domainConfigure.provider === 'gandi'">