Use the correct value of current locale
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -295,7 +295,7 @@ onError((error) => {
|
||||
|
||||
const submit = async (): Promise<void> => {
|
||||
sendingForm.value = true;
|
||||
credentials.locale = locale.value as string;
|
||||
credentials.locale = locale as unknown as string;
|
||||
try {
|
||||
emailErrors.value = [];
|
||||
passwordErrors.value = [];
|
||||
|
||||
Reference in New Issue
Block a user