diff options
author | Timo Ley <auth@tilera.xyz> | 2020-12-28 03:35:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 03:35:55 +0100 |
commit | 2b2a4a53bfea37b64965a9e04aed93b7455048df (patch) | |
tree | b17a79c47cba12ec64474df96b556e14d6b05a67 /templates/admin/auth/source/oauth.tmpl | |
parent | f6ca44c706479fc8565021ca9e50082b64a21c1f (diff) | |
download | gitea-2b2a4a53bfea37b64965a9e04aed93b7455048df.tar.gz gitea-2b2a4a53bfea37b64965a9e04aed93b7455048df.zip |
Custom icons for OAuth sources (#14161)
* Add Icon URL to Backend
* Template for Icon URL
* Localization & Edit Icon URL
* Improve Custom Icon URL
* Removed not working else
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates/admin/auth/source/oauth.tmpl')
-rw-r--r-- | templates/admin/auth/source/oauth.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/admin/auth/source/oauth.tmpl b/templates/admin/auth/source/oauth.tmpl index 7870dbd65d..1489ab8394 100644 --- a/templates/admin/auth/source/oauth.tmpl +++ b/templates/admin/auth/source/oauth.tmpl @@ -20,6 +20,10 @@ <label for="oauth2_secret">{{.i18n.Tr "admin.auths.oauth2_clientSecret"}}</label> <input id="oauth2_secret" name="oauth2_secret" value="{{.oauth2_secret}}"> </div> + <div class="optional field"> + <label for="oauth2_icon_url">{{.i18n.Tr "admin.auths.oauth2_icon_url"}}</label> + <input id="oauth2_icon_url" name="oauth2_icon_url" value="{{.oauth2_icon_url}}"> + </div> <div class="open_id_connect_auto_discovery_url required field"> <label for="open_id_connect_auto_discovery_url">{{.i18n.Tr "admin.auths.openIdConnectAutoDiscoveryURL"}}</label> <input id="open_id_connect_auto_discovery_url" name="open_id_connect_auto_discovery_url" value="{{.open_id_connect_auto_discovery_url}}"> |