mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 20:15:44 +00:00
adjust tests
This commit is contained in:
@ -62,7 +62,7 @@ export default function Set_Password() {
|
||||
|
||||
// check if passwords match
|
||||
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 didn’t match` });
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ export const useServerApiState = create<ServerApiStateProps>()(
|
||||
},
|
||||
registration_enabled: () => {
|
||||
// TODO
|
||||
return true;
|
||||
return false;
|
||||
},
|
||||
sso_registration_enabled: () => {
|
||||
// TODO
|
||||
|
Reference in New Issue
Block a user