Treat github and wikipedia provided emails as confirmed

Fixes #4270
This commit is contained in:
Tom Hughes 2024-02-25 10:04:18 +00:00
parent 746bfd0a48
commit 1b5200b797
2 changed files with 7 additions and 7 deletions

View file

@ -247,7 +247,7 @@ class UsersController < ApplicationController
when "openid"
uid.match(%r{https://www.google.com/accounts/o8/id?(.*)}) ||
uid.match(%r{https://me.yahoo.com/(.*)})
when "google", "facebook", "microsoft"
when "google", "facebook", "microsoft", "github", "wikipedia"
true
else
false