]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Controller/UserController.php
Fix translation string
[airbundle] / Controller / UserController.php
index 3c9137c9380dcc7de82b8ff3fad864e3b005b443..c5d4a6fcf45275e28e42ad2c93974771ca96a86a 100644 (file)
@@ -94,7 +94,7 @@ class UserController extends BaseUserController {
                if (empty($user = $this->doctrine->getRepository($this->config['class']['user'])->findOneByMail($mail))) {
                        //Throw not found
                        //XXX: prevent slugger reverse engineering by not displaying decoded mail
                if (empty($user = $this->doctrine->getRepository($this->config['class']['user'])->findOneByMail($mail))) {
                        //Throw not found
                        //XXX: prevent slugger reverse engineering by not displaying decoded mail
-                       throw $this->createNotFoundException($this->translator->trans('Unable to find account %mail%', ['%mail%' => $smail]));
+                       throw $this->createNotFoundException($this->translator->trans('Unable to find account: %mail%', ['%mail%' => $smail]));
                }
 
                //Prevent access when not admin, user is not guest and not currently logged user
                }
 
                //Prevent access when not admin, user is not guest and not currently logged user