Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
4a2fb1b4
Unverified
Commit
4a2fb1b4
authored
Jun 22, 2016
by
Vincent Petry
Browse files
Init the headers in iedavclient.js
parent
ae50e723
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/js/files/iedavclient.js
View file @
4a2fb1b4
...
...
@@ -29,6 +29,7 @@
var
self
=
this
;
var
xhr
=
this
.
xhrProvider
();
headers
=
headers
||
{};
if
(
this
.
userName
)
{
headers
[
'
Authorization
'
]
=
'
Basic
'
+
btoa
(
this
.
userName
+
'
:
'
+
this
.
password
);
...
...
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