Replace references to windowslive with microsoft_graph

This commit is contained in:
Milan Cvetkovic 2023-08-14 08:42:14 +00:00
parent 7428da74c2
commit 568bf4939d
6 changed files with 6 additions and 6 deletions

View file

Before

Width:  |  Height:  |  Size: 494 B

After

Width:  |  Height:  |  Size: 494 B

Before After
Before After

View file

@ -250,7 +250,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", "windowslive"
when "google", "facebook", "microsoft_graph"
true
else
false

View file

@ -36,7 +36,7 @@
<li><%= auth_button "facebook", "facebook" %></li>
<% end -%>
<% if Settings.key?(:microsoft_graph_auth_id) -%>
<li><%= auth_button "windowslive", "windowslive" %></li>
<li><%= auth_button "microsoft_graph", "microsoft_graph" %></li>
<% end -%>
<% if Settings.key?(:github_auth_id) -%>
<li><%= auth_button "github", "github" %></li>