vlc | branch: master | Thomas Guillem <[email protected]> | Tue Jan 12 09:06:04 
2016 +0100| [97640790ed8fcca53e6624f044ce338171bda280] | committer: Thomas 
Guillem

Revert "dsm: don't store creds in options when browsing a share or if we are a 
guest"

This reverts commit 76ae877d41bd46f80786e5886c465a37c3ef3cd5.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=97640790ed8fcca53e6624f044ce338171bda280
---

 modules/access/dsm/access.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/access/dsm/access.c b/modules/access/dsm/access.c
index 6597a29..7277b14 100644
--- a/modules/access/dsm/access.c
+++ b/modules/access/dsm/access.c
@@ -548,10 +548,6 @@ 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 )

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to