Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/vesta-change-password/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function configMapping()
return array(
\RainLoop\Plugins\Property::NewInstance('vesta_host')->SetLabel('Vesta Host')
->SetDefaultValue('')
->SetDescription('Allowed patterns: {user:host-imap}, {user:host-smtp}, {user:domain}'),
->SetDescription('Ex: localhost or domain.com'),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But these patterns still allowed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The connection should only be a hostname, and while those examples of host values are correct, if the user enters username:hostname as their value, like described above, the connection will fail.

\RainLoop\Plugins\Property::NewInstance('Vesta_port')->SetLabel('Vesta Port')
->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)
->SetDefaultValue(8083),
Expand Down