app/cyclid/plugins/action/email.rb in cyclid-0.2.1 vs app/cyclid/plugins/action/email.rb in cyclid-0.2.2
- old
+ new
@@ -155,10 +155,15 @@
return email_config
end
# Static methods for handling plugin config data
class << self
+ # This plugin has configuration data
+ def config?
+ true
+ end
+
# Update the plugin configuration
def update_config(current, new)
current.merge! new
end
@@ -192,10 +197,10 @@
schema << { name: 'username',
type: 'string',
description: 'SMTP server username',
default: nil }
schema << { name: 'password',
- type: 'string',
+ type: 'password',
description: 'SMTP server password',
default: nil }
return schema
end