From d4507b439941c8c8f9ffaae20fc8b1c77c0ff4f0 Mon Sep 17 00:00:00 2001 From: Kaito <33453552+kaitokid222@users.noreply.github.com> Date: Fri, 31 Aug 2018 21:55:36 +0200 Subject: [PATCH] fixed nonphp-part smaller, better --- steamauth/steamauth.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/steamauth/steamauth.php b/steamauth/steamauth.php index 464d833..e15bf80 100644 --- a/steamauth/steamauth.php +++ b/steamauth/steamauth.php @@ -36,14 +36,8 @@ function loginbutton($buttonstyle = "square") { header('Location: '.$steamauth['loginpage']); exit; } else { - ?> - - - window.location.href=\"" . $steamauth['loginpage'] . "\";"; + echo ""; exit; } } else {