diff --git a/cmd/loginhelper/pages/cookies.html b/cmd/loginhelper/pages/cookies.html index d4f6abb..f4f36c7 100644 --- a/cmd/loginhelper/pages/cookies.html +++ b/cmd/loginhelper/pages/cookies.html @@ -15,6 +15,8 @@ headers: { "Content-Type": "application/json" }, + }).then(() => { + window.location.reload() }).catch(err => alert(err)) } diff --git a/go.mod b/go.mod index ce66700..c69152b 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.22 require ( go.mau.fi/util v0.6.1-0.20240719175439-20a6073e1dd4 - maunium.net/go/mautrix v0.19.1-0.20240727220844-3ba566d182fe + maunium.net/go/mautrix v0.19.1-0.20240727222228-3b9f7c8f2307 ) require ( diff --git a/go.sum b/go.sum index 0beef73..143befd 100644 --- a/go.sum +++ b/go.sum @@ -63,5 +63,5 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= maunium.net/go/mauflag v1.0.0 h1:YiaRc0tEI3toYtJMRIfjP+jklH45uDHtT80nUamyD4M= maunium.net/go/mauflag v1.0.0/go.mod h1:nLivPOpTpHnpzEh8jEdSL9UqO9+/KBJFmNRlwKfkPeA= -maunium.net/go/mautrix v0.19.1-0.20240727220844-3ba566d182fe h1:aXFOFFT5ZSmBZRy01UnYlG6cNij6WBCFaNixkGWajjY= -maunium.net/go/mautrix v0.19.1-0.20240727220844-3ba566d182fe/go.mod h1:xP3DCXdPBUe1sPiugLbd5mRh/mJQWfGWyED1S8s9V7c= +maunium.net/go/mautrix v0.19.1-0.20240727222228-3b9f7c8f2307 h1:o2Maf+DF4PxTtu9xGtpApYRjwoA9cPt4TNoLhX5tPKk= +maunium.net/go/mautrix v0.19.1-0.20240727222228-3b9f7c8f2307/go.mod h1:xP3DCXdPBUe1sPiugLbd5mRh/mJQWfGWyED1S8s9V7c=