mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
adjust tests
This commit is contained in:
@ -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 didn’t match` });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user