feat: enhance user management functionality with detailed feedback and improved error handling

This commit is contained in:
2025-06-22 01:16:58 +02:00
parent 0fd042c9ca
commit c52193e697
4 changed files with 93 additions and 34 deletions

View File

@@ -12,15 +12,18 @@
/>
</head>
<body class="bg-dark">
<div class="container d-flex justify-content-center align-items-center" style="min-height: 100vh;">
<div class="card shadow-lg" style="width: 100%; max-width: 400px;">
<div
class="container d-flex justify-content-center align-items-center"
style="min-height: 100vh"
>
<div class="card shadow-lg" style="width: 100%; max-width: 400px">
<div class="card-body">
<h2 class="card-title text-center mb-4">Login</h2>
<% if (error) { %>
<div class="alert alert-danger text-center" role="alert">
<%= error %>
</div>
<div class="alert alert-danger text-center" role="alert">
<%= error %>
</div>
<% } %>
<form action="/login" method="post">
@@ -61,4 +64,3 @@
></script>
</body>
</html>