The same validation should be in TUI and CLI.
Now, there are some validations in the TUI, for instant for the password length, but there is no validation in the CLI.