summaryrefslogtreecommitdiff
path: root/src/application/actions/verifyemail/get.php
diff options
context:
space:
mode:
authorJonas Kohl2024-10-11 14:42:25 +0200
committerJonas Kohl2024-10-11 14:42:25 +0200
commit307b61ad625956e478c16f406061c9751baa928a (patch)
treed6a634bc05f7b94d79003d174c3fda1fb1ce5c56 /src/application/actions/verifyemail/get.php
parented228805999e0103297ddc41a0304f0845cb6800 (diff)
i18n fixes
Diffstat (limited to 'src/application/actions/verifyemail/get.php')
-rw-r--r--src/application/actions/verifyemail/get.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application/actions/verifyemail/get.php b/src/application/actions/verifyemail/get.php
index 77a1ef4..2cc2707 100644
--- a/src/application/actions/verifyemail/get.php
+++ b/src/application/actions/verifyemail/get.php
@@ -6,8 +6,8 @@ use Symfony\Component\Mailer\Transport;
use Symfony\Component\Mime\Address;
use Symfony\Component\Mime\Email;
-$token = $_GET["token"] ?? throw new Exception("Missing token");
-$sig = $_GET["sig"] ?? throw new Exception("Missing signature");
+$token = $_GET["token"] ?? throw new Exception(__("Missing token"));
+$sig = $_GET["sig"] ?? throw new Exception(__("Missing signature"));
$user = new User();
$user->activationToken = $token;