HestiaCP Password reset support

Resets password via hostname:8083/reset/mail/ endpoint 

Should also work on VestaCP < 1.0.0 or after they have patched the bug in 1.0.x
This commit is contained in:
Jaap Marcus 2022-06-02 16:10:26 +02:00
parent e8b73b4943
commit 869abb0469
No known key found for this signature in database
GPG key ID: 1C387772097B418E
2 changed files with 88 additions and 0 deletions

View file

@ -0,0 +1,20 @@
<?php
use \RainLoop\Exceptions\ClientException;
class ChangePasswordHestiaPlugin extends \RainLoop\Plugins\AbstractPlugin
{
const
NAME = 'Change Password Hestia',
AUTHOR = 'Jaap Marcus',
VERSION = '1.0',
RELEASE = '2022-06-02',
REQUIRED = '2.16.3',
CATEGORY = 'Security',
DESCRIPTION = 'Extension to allow users to change their passwords through HestiaCP';
public function Supported() : string
{
return 'Use Change Password plugin';
}
}