diff --git a/index.php b/index.php
index 79d381d..ec768b8 100644
--- a/index.php
+++ b/index.php
@@ -1,9 +1,9 @@
$ welcome to tilde.club
- Questions? See the official FAQ.
+ Questions? See the official FAQ.
- SERVICE ADVISORY: New Server, New Owners, New lease on life for tilde.club. Welcome!. The Expected SSH Hostkey is SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE and will match the SSHFP records in DNS. You can use ssh -o "VerifyHostKeyDNS yes" user@tilde.club to verify that the key matches DNS.
+ SERVICE ADVISORY: New Server, New Owners, New lease on life for tilde.club. Welcome!. The Expected SSH Hostkey is SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE.
diff --git a/signup/index.php b/signup/index.php
index eaf867e..4b6e0b7 100644
--- a/signup/index.php
+++ b/signup/index.php
@@ -3,7 +3,6 @@ $title = "sign up for the tilde.club!";
include __DIR__."/../header.php";
?>
-devmode!! please do not use yet!!
sign up to join tilde.club
we're excited you're here! let's get you signed up!
diff --git a/signup/signup-handler.php b/signup/signup-handler.php
index 7a752d5..32c6738 100644
--- a/signup/signup-handler.php
+++ b/signup/signup-handler.php
@@ -68,7 +68,7 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) {
if (strlen($name) > 32)
$message .= "username too long (32 character max)";
- if (!preg_match('/^[a-z][a-z0-9]{2,31}$/', $name))
+ if (!preg_match('/^[a-z][a-z0-9]{1,30}$/', $name))
$message .= "username contains invalid characters (lowercase only, must start with a letter)";
if ($_REQUEST["sshkey"] == "" || mb_substr($_REQUEST["sshkey"], 0, 4) !== "ssh-")
@@ -97,7 +97,8 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) {
// no validation errors
if ($message == "") {
- $makeuser = "makeuser {$_REQUEST["username"]} {$_REQUEST["email"]} \"{$_REQUEST["sshkey"]}\"";
+ $sshkey = trim($_REQUEST["sshkey"]);
+ $makeuser = "makeuser {$_REQUEST["username"]} {$_REQUEST["email"]} \"{$sshkey}\"";
$msgbody = "
username: {$_REQUEST["username"]}
email: {$_REQUEST["email"]}
diff --git a/style.css b/style.css
index 4826671..a728616 100644
--- a/style.css
+++ b/style.css
@@ -1,64 +1,103 @@
-* {font-size:13pt;font-weight:normal;}
+/* {font-size:13pt;font-weight:normal;} */
-table {border-collapse:collapse;}
-td {border:6px double darkorange;padding:10px;}
-ol {margin-left:1em;}
-body {
- margin:1em;
- background:000;
- font-family:'courier new';
- color:darkorange;
- background:#000400;
+table {
+ border-collapse: collapse;
}
-a {background:darkorange;color:#223;font-weight:bold;padding-right:.25em;}
-.advisory {background:darkorange;color:#223;font-weight:bold;padding-right:.25em;}
-h1 {text-transform:uppercase;font-weight:bold;
- color:#000400; background:darkorange;
+td {
+ border: 6px double darkorange;
+ padding: 10px;
+}
+ol {
+ margin-left: 1em;
+}
+body {
+ margin: 1em;
+ background: 000;
+ font-family: "courier new", monospace;
+ color: darkorange;
+ background: #000400;
+}
+a {
+ background: darkorange;
+ color: #223;
+ font-weight: bold;
+ padding-right: 0.25em;
+}
+.advisory {
+ background: darkorange;
+ color: #223;
+ font-weight: bold;
+ padding-right: 0.25em;
+}
+h1 {
+ text-transform: uppercase;
+ font-weight: bold;
+ color: #000400;
+ background: darkorange;
}
.advisory {
- -webkit-animation-name: blinker;
- -webkit-animation-duration: 8s;
- -webkit-animation-timing-function: linear;
- -webkit-animation-iteration-count: infinite;
+ -webkit-animation-name: blinker;
+ -webkit-animation-duration: 8s;
+ -webkit-animation-timing-function: linear;
+ -webkit-animation-iteration-count: infinite;
- -moz-animation-name: blinker;
- -moz-animation-duration: 8s;
- -moz-animation-timing-function: linear;
- -moz-animation-iteration-count: infinite;
+ -moz-animation-name: blinker;
+ -moz-animation-duration: 8s;
+ -moz-animation-timing-function: linear;
+ -moz-animation-iteration-count: infinite;
- animation-name: blinker;
- animation-duration: 8s;
- animation-timing-function: linear;
- animation-iteration-count: infinite;
+ animation-name: blinker;
+ animation-duration: 8s;
+ animation-timing-function: linear;
+ animation-iteration-count: infinite;
}
-input[type="text"], textarea {
- background-color : #333;
- color: darkorange;
+input[type="text"],
+textarea {
+ background-color: #333;
+ color: darkorange;
}
div.alert-warning {
- background-color: darkred;
+ background-color: darkred;
}
div.alert-success {
- background-color: darkgreen;
+ background-color: darkgreen;
}
-@-moz-keyframes blinker {
- 0% { opacity: 1.0; }
- 50% { opacity: 0.75; }
- 100% { opacity: 1.0; }
+@-moz-keyframes blinker {
+ 0% {
+ opacity: 1;
+ }
+ 50% {
+ opacity: 0.75;
+ }
+ 100% {
+ opacity: 1;
+ }
}
-@-webkit-keyframes blinker {
- 0% { opacity: 1.0; }
- 50% { opacity: 0.75; }
- 100% { opacity: 1.0; }
+@-webkit-keyframes blinker {
+ 0% {
+ opacity: 1;
+ }
+ 50% {
+ opacity: 0.75;
+ }
+ 100% {
+ opacity: 1;
+ }
}
-@keyframes blinker {
- 0% { opacity: 1.0; }
- 50% { opacity: 0.75; }
- 100% { opacity: 1.0; }
+@keyframes blinker {
+ 0% {
+ opacity: 1;
+ }
+ 50% {
+ opacity: 0.75;
+ }
+ 100% {
+ opacity: 1;
+ }
}