RaythaHQ/raytha

Create account crash on empty password

Closed this issue · 5 comments

In the Create Account screen, if the user enters a password that is at least 1 character, but less than the min password length, they are presented with an error. This behavior is correct.

However, if the user creates an account with a totally empty password field, then it crashes. We should be presented with the same error as the above.

Login.Commands.CreateUser

This if-statement should check for null || < than pw length.

This too:

if (request.NewPassword.Length < PasswordUtility.PASSWORD_MIN_CHARACTER_LENGTH)

hi @apexdodge

I want to work in this issue. will u assign it to me?

@takuabonn Yes you are assigned now, thank you!

hi @apexdodge

please check below pull request. 🙇
#153

Thank you! This was merged with the dev branch and will be released with v1.1.4.