summaryrefslogtreecommitdiffstats
path: root/models/login_source.go
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 /models/login_source.go
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 'models/login_source.go')
-rw-r--r--models/login_source.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/login_source.go b/models/login_source.go
index 4f577d6ca7..f1941c3e78 100644
--- a/models/login_source.go
+++ b/models/login_source.go
@@ -131,6 +131,7 @@ type OAuth2Config struct {
ClientSecret string
OpenIDConnectAutoDiscoveryURL string
CustomURLMapping *oauth2.CustomURLMapping
+ IconURL string
}
// FromDB fills up an OAuth2Config from serialized format.