xref: /dokuwiki/inc/Menu/Item/Resendpwd.php (revision b3680c4f047962121d05cbec69bf0fbc8d91f664)
1<?php
2
3namespace dokuwiki\Menu\Item;
4
5class Resendpwd extends AbstractItem {
6
7    /** @inheritdoc */
8    public function __construct() {
9        global $INPUT;
10        parent::__construct();
11
12        if($INPUT->server->str('REMOTE_USER')) {
13            throw new \RuntimeException("no resendpwd when already logged in");
14        }
15    }
16
17}
18