Revision 23821bd2

b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
131 131
        private async Task StartMonitoring()
132 132
        {
133 133
            try
134
            {
135
                if (Settings.Accounts == null)
136
                {
137
                    Settings.Accounts=new AccountsCollection();
138
                    Settings.Save();
139
                    return;
140
                }
141
                  
134
            {                  
142 135
                foreach (var account in Settings.Accounts)
143 136
                {
144 137
                    await MonitorAccount(account);
......
340 333

  
341 334
        public void GoToSite(AccountInfo account)
342 335
        {
343
            var site = String.Format("{0}/ui/?token={1}&user={2}",
336
            /*var site = String.Format("{0}/ui/?token={1}&user={2}",
344 337
                account.SiteUri,account.Token,
345
                account.UserName);
346
            Process.Start(site);
338
                account.UserName);*/
339
            Process.Start(account.SiteUri);
347 340
        }
348 341

  
349 342
        public void ShowFileProperties()
b/trunk/Pithos.Core/PithosMonitor.cs
136 136
            CloudClient.UsePithos = true;
137 137
            CloudClient.AuthenticationUrl = this.AuthenticationUrl;            
138 138

  
139
            _accountInfo = CloudClient.Authenticate();
139
            _accountInfo = CloudClient.Authenticate();            
140
            _accountInfo.SiteUri = AuthenticationUrl;
140 141
            _accountInfo.AccountPath = RootPath;
141 142

  
142 143

  

Also available in: Unified diff