mirror of
https://github.com/exzork/gc-tools.git
synced 2024-11-29 02:27:32 +00:00
fix newer version of gcauth
This commit is contained in:
parent
8a9a2f317b
commit
3abc2ccea1
@ -54,7 +54,7 @@ export default function GCAuth() {
|
|||||||
fetch(baseUrl + "/authentication/type")
|
fetch(baseUrl + "/authentication/type")
|
||||||
.then(res => res.text())
|
.then(res => res.text())
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res === "me.exzork.gcauth.handler.GCAuthAuthenticationHandler") {
|
if (res.indexOf("GCAuthAuthenticationHandler") !== -1) {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
toast: true,
|
toast: true,
|
||||||
position: "top-end",
|
position: "top-end",
|
||||||
|
Loading…
Reference in New Issue
Block a user