Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 819d6f5c authored by TChardeur's avatar TChardeur
Browse files

Commented cookies lines in FollowNSULinkRemoteOperation.java

parent 9d2c27ac
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ public class FollowNSULinkRemoteOperation extends RemoteOperation {
    protected RemoteOperationResult run(OwnCloudClient client) {
        Uri serverUri = (client.getBaseUri() != null)? client.getBaseUri() : client.getWebdavUri();

        Cookie usernameCookie = new Cookie();
        /*Cookie usernameCookie = new Cookie();
        usernameCookie.setName('username');
        usernameCookie.setValue('x@e.email');
        usernameCookie.setDomain(serverUri.getHost());
@@ -20,7 +20,7 @@ public class FollowNSULinkRemoteOperation extends RemoteOperation {
        tokenCookie.setPath(serverUri.getPath());

        client.getState().addCookie(usernameCookie);
        client.getState().addCookie(tokenCookie);
        client.getState().addCookie(tokenCookie);*/

        String url = client.getBaseUri() + /apps/increasestoragebutton/get-redirect-link
        GetMethod get = new GetMethod(url);