Commit f62a17f9 authored by okhin's avatar okhin 🚴

Merge branch 'preprod' into 'master'

Preprod

See merge request !66
parents 6142bb07 13f88250
Pipeline #2268 passed with stages
in 1 minute and 24 seconds
......@@ -108,7 +108,7 @@ class Campaign extends Controller
$user = $f3->get('container')['user_finder']->findByEmail(\Utils::asl($email));
if (count($user) > 0) {
if (count($user) > 0 && is_array($user)) {
// We have an existing user, we should try to login with the provided password
// or 403.
$mapper = new \DB\SQL\Mapper($f3->get('DB'), 'users');
......
......@@ -8,6 +8,7 @@
<div class="row">
<check if="{{ @ERROR.code == 403 }}">
<div class="col-md-5 col-md-offset-1 well light-blue">
<h2><span>{{ @ERROR.code }} - {{ @ERROR.status }}</span></h2>
{{ _("Accès refusé.<br>Votre mot de passe est invalide.") }}
</div>
<div class="col-md-5 well sky-blue">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment