Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
3f52a80b
Commit
3f52a80b
authored
Jan 25, 2017
by
okhin
Browse files
No token was the right ne
parent
24b82e3f
Pipeline
#792
passed with stage
in 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/Main.php
View file @
3f52a80b
...
...
@@ -81,7 +81,7 @@ class Main extends Controller {
// to load the callee and retrieve its number.
$contact
=
Api
::
get_contact
(
$args
[
'id'
]);
$f3
->
set
(
'contact'
,
$contact
);
$data
=
array
(
'api'
=>
JWT_KE
Y
,
$data
=
array
(
'api'
=>
JWT_
TO
KE
N
,
'caller'
=>
$f3
->
get
(
'POST.phone'
),
'callee'
=>
$contact
[
'phone'
],
'token'
=>
$token
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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