Does not accept empty password
This commit is contained in:
@@ -76,7 +76,7 @@ feature -- Execution
|
|||||||
b.append ("</li>")
|
b.append ("</li>")
|
||||||
end
|
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)
|
u.set_password (s_password.value)
|
||||||
end
|
end
|
||||||
if attached {WSF_STRING} fd.item ("email") as s_email then
|
if attached {WSF_STRING} fd.item ("email") as s_email then
|
||||||
|
|||||||
Reference in New Issue
Block a user