Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
76ae877d
Commit
76ae877d
authored
Jan 11, 2016
by
Thomas Guillem
Browse files
dsm: don't store creds in options when browsing a share or if we are a guest
parent
7c305abc
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/dsm/access.c
View file @
76ae877d
...
...
@@ -548,6 +548,10 @@ static input_item_t *new_item( access_t *p_access, const char *psz_name,
if
(
p_item
==
NULL
)
return
NULL
;
/* Don't store user/password when browsing share or if we are guest */
if
(
smb_session_is_guest
(
p_sys
->
p_session
)
||
p_sys
->
psz_share
==
NULL
)
return
p_item
;
/* Here we save on the node the credentials that allowed us to login.
* That way the user isn't prompted more than once for credentials */
if
(
p_sys
->
creds
.
login
)
...
...
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