adjust tests
This commit is contained in:
parent
d619cc1135
commit
6f6829d650
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue