isPasswordValid returns a boolean value, so we should check it's true rather than <= 0
Attach a file by drag & drop or click to upload