added update profile modal, adjusted forms, and fixed account update in backend

This commit is contained in:
2026-01-03 19:46:31 +01:00
parent f3a2c98643
commit f71d1ff9ac
12 changed files with 270 additions and 17 deletions

View File

@@ -25,8 +25,15 @@ async function submit() {
<form class="login-card" @submit.prevent="submit">
<h1>Login</h1>
<input v-model="email" placeholder="email" />
<input v-model="password" type="password" placeholder="password" />
<div class="input-group">
<label>Email</label>
<input v-model="email" placeholder="email" />
</div>
<div class="input-group">
<label>Password</label>
<input v-model="password" type="password" placeholder="password" />
</div>
<button type="submit">Login</button>
@@ -78,7 +85,7 @@ async function submit() {
}
.error-message {
color: red;
color: var(--error);
font-size: 0.9rem;
text-align: center;
margin-top: 0.5rem;