Add profile avatar uploads
linter / quality (pull_request) Successful in 1m28s
tests / ci (8.4) (pull_request) Successful in 1m53s

This commit is contained in:
2026-06-24 13:55:27 +02:00
parent 732f49ee80
commit 598f8631f9
18 changed files with 547 additions and 24 deletions
+14 -5
View File
@@ -40,7 +40,7 @@ const form = useForm({
});
const submit = (): void => {
form.patch(save(props.user.id), {
form.patch(save.url(props.user.id), {
preserveScroll: true,
});
};
@@ -126,7 +126,9 @@ const submit = (): void => {
>
<input
id="must_change_password_on_next_login"
v-model="form.must_change_password_on_next_login"
v-model="
form.must_change_password_on_next_login
"
type="checkbox"
class="border-input text-primary focus:ring-ring mt-0.5 size-4 rounded"
/>
@@ -134,13 +136,20 @@ const submit = (): void => {
<span class="block font-medium">
Must change password on next login
</span>
<span class="text-muted-foreground block text-sm">
Keep the user locked to the security settings page until they save a new password.
<span
class="text-muted-foreground block text-sm"
>
Keep the user locked to the security
settings page until they save a new
password.
</span>
</span>
</Label>
<InputError
:message="form.errors.must_change_password_on_next_login"
:message="
form.errors
.must_change_password_on_next_login
"
/>
</div>