From 1d467913641e2d59cc697bf97413e19b551ead05 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Thu, 26 Dec 2019 01:26:28 +0100 Subject: [PATCH] Add more Yandex domains --- src/oauth2.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/oauth2.rs b/src/oauth2.rs index 9793133a6..60a057a3c 100644 --- a/src/oauth2.rs +++ b/src/oauth2.rs @@ -271,7 +271,8 @@ impl Oauth2 { { match domain { "gmail.com" | "googlemail.com" => Some(OAUTH2_GMAIL), - "yandex.com" | "yandex.ru" | "yandex.ua" => Some(OAUTH2_YANDEX), + "yandex.com" | "yandex.by" | "yandex.kz" | "yandex.ru" | "yandex.ua" | "ya.ru" + | "narod.ru" => Some(OAUTH2_YANDEX), _ => None, } } else {