mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
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:
parent
e8b73b4943
commit
869abb0469
2 changed files with 88 additions and 0 deletions
20
plugins/change-password-hestia/index.php
Normal file
20
plugins/change-password-hestia/index.php
Normal 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';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue