user authentication
This commit is contained in:
21
templates/admin.html
Normal file
21
templates/admin.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h2>Logged in User details</h2>
|
||||
|
||||
<ul>
|
||||
<li>Username: {{ current_user.username }}</li>
|
||||
<li>Email: {{ current_user.email }}</li>
|
||||
<li>Created on: {{ current_user.created_on }}</li>
|
||||
<li>Updated on: {{ current_user.updated_on }}</li>
|
||||
</ul>
|
||||
|
||||
<p><a href="{{ url_for('logout') }}">Logout</a></p>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user