]> git.mxchange.org Git - friendica.git/blobdiff - mod/lostpass.php
notags calls
[friendica.git] / mod / lostpass.php
index ae94fbbbea72a4c7ed6437cf81a50bdbc3f0776e..f4ee91efa1f28d489426deba4847a9ec81448926 100644 (file)
@@ -11,6 +11,7 @@ use Friendica\Core\System;
 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';
@@ -18,7 +19,7 @@ require_once 'include/text.php';
 
 function lostpass_post(App $a)
 {
-       $loginame = notags(trim($_POST['login-name']));
+       $loginame = Strings::removeTags(trim($_POST['login-name']));
        if (!$loginame) {
                $a->internalRedirect();
        }