xref: /dokuwiki/inc/Menu/Item/Resendpwd.php (revision 8c51da59a9481debdfd66270530c691b0411cf9c)
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