Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
bbcaa7f6
Commit
bbcaa7f6
authored
Nov 20, 2018
by
Okhin
Browse files
Fix the templates to their original model
parent
174ebf57
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controller/campaign.php
View file @
bbcaa7f6
...
...
@@ -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
(
40
0
,
"count(user): "
.
count
(
$user
)
.
"user:
$user
, email:
$email
, pass:
$hash
"
);
$f3
->
error
(
40
3
);
}
$email
=
$user
[
'email'
];
$user_id
=
$user
[
'id'
];
...
...
app/view/campaign/errors.html
View file @
bbcaa7f6
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment