Does not accept empty password

This commit is contained in:
Jocelyn Fiat
2013-03-01 18:10:16 +01:00
parent 7cf395a9bc
commit 4a92612441

View File

@@ -76,7 +76,7 @@ feature -- Execution
b.append ("</li>")
end
if attached {WSF_STRING} fd.item ("password") as s_password then
if attached {WSF_STRING} fd.item ("password") as s_password and then not s_password.is_empty then
u.set_password (s_password.value)
end
if attached {WSF_STRING} fd.item ("email") as s_email then