Commit cbf0abac authored by Ted Trask's avatar Ted Trask

Fix deletion of temporary user in email_message

parent a7ebda83
......@@ -613,7 +613,7 @@ mymodule.email_message = function(self, emailrequest)
settings.value["vm-mailto"].value = emailrequest.value.address.value
settings.value["vm-email-all-messages"].value = true
settings.value["vm-attach-file"].value = true
settings.value["vm-keep-local-after-email"].value = false
settings.value["vm-keep-local-after-email"].value = true -- this allows us to delete the folder in delete_user
if settings.value["vm-password"] then settings.value["vm-password"].value = "1234" end
if settings.value["vm-password-confirm"] then settings.value["vm-password-confirm"].value = "1234" end
settings = mymodule.create_usersettings(self, settings)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment