Commit bbcaa7f6 authored by okhin's avatar okhin 🚴

Fix the templates to their original model

parent 174ebf57
Pipeline #2266 passed with stages
in 12 seconds
......@@ -115,7 +115,7 @@ class Campaign extends Controller
$auth = new \Auth($mapper, array('id' => 'email', 'pw' => 'hash'));
$login = $auth->login($email, $hash);
if (!$login) {
$f3->error(400, "count(user): ". count($user) . "user: $user, email: $email, pass: $hash");
$f3->error(403);
}
$email = $user['email'];
$user_id = $user['id'];
......
......@@ -2,7 +2,6 @@
<div class="row">
<div class="col-md-10 col-md-offset-1 header">
<h2><span>{{ @ERROR.code }} - {{ @ERROR.status }}</span></h2>
<span>{{ @@emsg }}</span>
<hr>
</div>
</div>
......
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