Add POST method to LoginForm and RegisterForm components

- Updated the `LoginForm.vue` and `RegisterForm.vue` components to include the `method="POST"` attribute in their form elements. This change ensures that form submissions are handled correctly as POST requests, aligning with standard web practices for user authentication and registration.

These modifications aim to enhance the functionality of the authentication forms by explicitly defining the request method for form submissions.
This commit is contained in:
JhumanJ 2025-04-14 10:32:37 +02:00
parent 20adfe076f
commit a43ed866b8
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
/>
<form
method="POST"
class="mt-4"
@submit.prevent="login"
@keydown="form.onKeydown($event)"

View File

@ -1,6 +1,7 @@
<template>
<div>
<form
method="POST"
@submit.prevent="register"
@keydown="form.onKeydown($event)"
>