Adding all the code i changed. It now supports mfa, passkeys and passwords

This commit is contained in:
Janis Steiner
2024-12-25 23:56:19 +01:00
parent ea743d19e9
commit e8cba3edf6
49 changed files with 7730 additions and 24 deletions

View File

@@ -1,4 +1,5 @@
<?php
session_start();
$_SESSION["needs_auth"]=true;
$_SESSION["username"]=preg_replace("/[^a-z0-9_]/","",$_POST["username"]);
?>