From: Adam Magness <adam.magness@gmail.com>
Date: Mon, 22 Jan 2018 20:21:43 +0000 (-0500)
Subject: Security t()
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bae725c2797fcae0d61c13822d27e4277ec0cc0e;p=friendica.git

Security t()

missed t() calls in security
---

diff --git a/include/security.php b/include/security.php
index a84df51133..39846a8328 100644
--- a/include/security.php
+++ b/include/security.php
@@ -77,10 +77,10 @@ function authenticate_success($user_record, $login_initial = false, $interactive
 		if ($a->user['login_date'] <= NULL_DATE) {
 			$_SESSION['return_url'] = 'profile_photo/new';
 			$a->module = 'profile_photo';
-			info(t("Welcome ") . $a->user['username'] . EOL);
-			info(t('Please upload a profile photo.') . EOL);
+			info(L10n::t("Welcome ") . $a->user['username'] . EOL);
+			info(L10n::t('Please upload a profile photo.') . EOL);
 		} else {
-			info(t("Welcome back ") . $a->user['username'] . EOL);
+			info(L10n::t("Welcome back ") . $a->user['username'] . EOL);
 		}
 	}