fix newer version of gcauth

This commit is contained in:
muhammadeko 2022-05-15 10:11:02 +07:00
parent 8a9a2f317b
commit 3abc2ccea1
No known key found for this signature in database
GPG Key ID: 51366716C10E98B1

View File

@ -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",