use Friendica\Database\DBA;
use Friendica\Model\User;
use Friendica\Util\DateTimeFormat;
+use Friendica\Util\Strings;
require_once 'boot.php';
require_once 'include/enotify.php';
function lostpass_post(App $a)
{
- $loginame = notags(trim($_POST['login-name']));
+ $loginame = Strings::removeTags(trim($_POST['login-name']));
if (!$loginame) {
$a->internalRedirect();
}