summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorTimo Ley <auth@tilera.xyz>2020-12-28 03:35:55 +0100
committerGitHub <noreply@github.com>2020-12-28 03:35:55 +0100
commit2b2a4a53bfea37b64965a9e04aed93b7455048df (patch)
treeb17a79c47cba12ec64474df96b556e14d6b05a67 /routers
parentf6ca44c706479fc8565021ca9e50082b64a21c1f (diff)
downloadgitea-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 'routers')
-rw-r--r--routers/admin/auths.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go
index ce9dd38360..7a9d286373 100644
--- a/routers/admin/auths.go
+++ b/routers/admin/auths.go
@@ -177,6 +177,7 @@ func parseOAuth2Config(form auth.AuthenticationForm) *models.OAuth2Config {
ClientSecret: form.Oauth2Secret,
OpenIDConnectAutoDiscoveryURL: form.OpenIDConnectAutoDiscoveryURL,
CustomURLMapping: customURLMapping,
+ IconURL: form.Oauth2IconURL,
}
}