diff --git a/public/include/admin_checks.php b/public/include/admin_checks.php index cdd9ad29..179d873a 100644 --- a/public/include/admin_checks.php +++ b/public/include/admin_checks.php @@ -101,7 +101,8 @@ if (@$_SESSION['USERDATA']['is_admin'] && $user->isAdmin(@$_SESSION['USERDATA'][ $host = @gethostbyname($config['gettingstarted']['stratumurl']); $port = $config['gettingstarted']['stratumport']; - if (isset($port) and + if (isset($host) and + isset($port) and ($socket=socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) and (socket_set_option($socket, SOL_SOCKET, SO_SNDTIMEO, array('sec' => 3, 'usec' => 0))) and (@socket_connect($socket, $host, $port))) diff --git a/public/templates/bootstrap/login/default.tpl b/public/templates/bootstrap/login/default.tpl index 818b1e13..2539ac8e 100644 --- a/public/templates/bootstrap/login/default.tpl +++ b/public/templates/bootstrap/login/default.tpl @@ -7,11 +7,11 @@
-
+
-
+
diff --git a/public/templates/bootstrap/register/default.tpl b/public/templates/bootstrap/register/default.tpl index 0d884376..2d302c73 100644 --- a/public/templates/bootstrap/register/default.tpl +++ b/public/templates/bootstrap/register/default.tpl @@ -18,36 +18,36 @@
-
+
- +
(Strength) -
+
-
+
-
+
-
+
Four digit number. Remember this pin! -
+
-
+