aboutsummaryrefslogtreecommitdiffstats
path: root/php/misc.php
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-01-29 13:43:53 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-01-29 13:43:53 +0200
commitdcf61354050bfe81d6983f1aec34d7d3d6733a0d (patch)
tree87535d87bc498d8d852f30bb1de96864d68e9ba4 /php/misc.php
parent33e533d28dbf9ad7bfc7ad9af467e5efe25ae8a0 (diff)
downloadfileup-dcf61354050bfe81d6983f1aec34d7d3d6733a0d.tar.gz
index.html + login.html => index.php
those files had the entire HTML tree duplicated, which would make it difficult to make any changes to the front end. this commit combines the two files in one, with some front-end JS to switch between the login and register forms.
Diffstat (limited to 'php/misc.php')
-rw-r--r--php/misc.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/php/misc.php b/php/misc.php
index 3ab0277..69cd654 100644
--- a/php/misc.php
+++ b/php/misc.php
@@ -1,11 +1,6 @@
<?php
require_once "user.php";
-function validate_credentials(string $username,string $email,string $password,string $password2) : bool
-{
- return true;
-}
-
function generate_email_verification_link()
{
/*TODO*/