initial commit

This commit is contained in:
2024-02-22 13:40:14 -08:00
commit 4a6257ec6c
13 changed files with 310 additions and 0 deletions

18
templates/2fa.html Normal file
View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Accounts</title>
</head>
<body>
<h1>{{ currSecret }}</h1>
<h1>{{ code }}</h1>
<a href="{{ homeurl }}">
<button>Back home</button>
</a>
<a href="{{ delurl }}">
<button>Disable MFA</button>
</a>
</body>
</html>

19
templates/home.html Normal file
View File

@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Accounts</title>
</head>
<body>
<h1>Welcome, {{ current_user.data.givenName }}</h1>
<h2>Email: {{ current_user.data.mail }}</h2>
<h2>{{ current_user.dn }}</h2>
<a href="{{ mfaurl }}">
<button>MFA</button>
</a>
<a href="http://accounts.bbrunson.com">
<button>Change Password</button>
</a>
</body>
</html>