2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

adjust tests

This commit is contained in:
Matthias Mair
2025-01-09 01:49:19 +01:00
parent d619cc1135
commit 6f6829d650
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ export default function Set_Password() {
// check if passwords match // check if passwords match
if (simpleForm.values.new_password1 !== simpleForm.values.new_password2) { if (simpleForm.values.new_password1 !== simpleForm.values.new_password2) {
passwordError({ new_password2: t`Passwords do not match` }); passwordError({ new_password2: t`The two password fields didnt match` });
return; return;
} }

View File

@ -58,7 +58,7 @@ export const useServerApiState = create<ServerApiStateProps>()(
}, },
registration_enabled: () => { registration_enabled: () => {
// TODO // TODO
return true; return false;
}, },
sso_registration_enabled: () => { sso_registration_enabled: () => {
// TODO // TODO