mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Add more Yandex domains
This commit is contained in:
@@ -271,7 +271,8 @@ impl Oauth2 {
|
|||||||
{
|
{
|
||||||
match domain {
|
match domain {
|
||||||
"gmail.com" | "googlemail.com" => Some(OAUTH2_GMAIL),
|
"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,
|
_ => None,
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user