mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-28 09:10:09 +00:00
TRA-4147 simpler kratos password policy (#590)
This commit is contained in:
parent
b88bdb90f6
commit
63122cb0a7
@ -1,4 +1,4 @@
|
|||||||
FROM oryd/kratos:v0.8.0-sqlite
|
FROM gcr.io/up9-docker-hub/mizu-kratos-base/simple-password-policy:latest
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@ export const InstallPage: React.FC = () => {
|
|||||||
const {setPage} = useContext(MizuContext);
|
const {setPage} = useContext(MizuContext);
|
||||||
|
|
||||||
const onFormSubmit = async () => {
|
const onFormSubmit = async () => {
|
||||||
if (password.length < 8) {
|
if (password.length < 4) {
|
||||||
toast.error("Password must be at least 8 characters long");
|
toast.error("Password must be at least 4 characters long");
|
||||||
return;
|
return;
|
||||||
} else if (password !== passwordConfirm) {
|
} else if (password !== passwordConfirm) {
|
||||||
toast.error("Passwords do not match");
|
toast.error("Passwords do not match");
|
||||||
|
Loading…
Reference in New Issue
Block a user