Fix lost password form
This commit is contained in:
@@ -96,10 +96,8 @@ abstract class LoginLocation extends Location {
|
|||||||
#[Override]
|
#[Override]
|
||||||
public function activate(): void
|
public function activate(): void
|
||||||
{
|
{
|
||||||
add_action('lostpassword_form', [$this, 'render']);
|
|
||||||
add_action('login_head', [$this, 'header']);
|
add_action('login_head', [$this, 'header']);
|
||||||
add_action('login_footer', [$this, 'footer']);
|
add_action('login_footer', [$this, 'footer']);
|
||||||
add_action('lostpassword_post', [$this, 'process_form']);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function get_action():string {
|
private function get_action():string {
|
||||||
|
|||||||
Reference in New Issue
Block a user