From 3d5d21133ca93ab5ab4482bac11ca7c4fa21c407 Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Thu, 5 Mar 2020 00:08:52 +0200 Subject: OAuth2: add Yandex provider (#8335) (#10564) * OAuth2: add Yandex provider (#8335) * remove changes from locale ru-RU * fmt modules/auth/oauth2/oauth2.go Co-Authored-By: 6543 <6543@obermui.de> * fix fmt * Update templates/admin/auth/new.tmpl * fix fmt Co-authored-by: Lunny Xiao Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: techknowlogick Co-authored-by: Lauris BH --- models/oauth2.go | 1 + 1 file changed, 1 insertion(+) (limited to 'models/oauth2.go') diff --git a/models/oauth2.go b/models/oauth2.go index 8164699d8d..1fb4783d03 100644 --- a/models/oauth2.go +++ b/models/oauth2.go @@ -58,6 +58,7 @@ var OAuth2Providers = map[string]OAuth2Provider{ ProfileURL: oauth2.GetDefaultProfileURL("nextcloud"), }, }, + "yandex": {Name: "yandex", DisplayName: "Yandex", Image: "/img/auth/yandex.png"}, } // OAuth2DefaultCustomURLMappings contains the map of default URL's for OAuth2 providers that are allowed to have custom urls -- cgit v1.2.3