summaryrefslogtreecommitdiff
path: root/src/application/actions/verifyemail
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/actions/verifyemail')
-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;