X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flostpass.php;h=56ad7e30ef0e71225e73d6423a569d1b30568059;hb=ca840f7ed1ef6ae4a1b196a981aa6c226b9ddf0f;hp=75d29731be71d7daba16b4c022af40ca00980f5b;hpb=9b37f5c0855c8071075fa3ce49b7e9c38f2c6a2e;p=friendica.git diff --git a/mod/lostpass.php b/mod/lostpass.php index 75d29731be..56ad7e30ef 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -11,7 +11,6 @@ use Friendica\Model\User; use Friendica\Util\DateTimeFormat; require_once 'boot.php'; -require_once 'include/datetime.php'; require_once 'include/enotify.php'; require_once 'include/text.php'; @@ -126,6 +125,7 @@ function lostpass_form() function lostpass_generate_password($user) { $o = ''; + $a = get_app(); $new_password = User::generateNewPassword(); $result = User::updatePassword($user['uid'], $new_password);