Revision 97d149c1 trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
b/trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs | ||
---|---|---|
775 | 775 |
var message = String.Format("API Key Expired for {0}. Starting Renewal", |
776 | 776 |
monitor.UserName); |
777 | 777 |
Log.Error(message, exc); |
778 |
var account = Settings.Accounts.Find(acc => acc.AccountName == monitor.UserName);
|
|
778 |
var account = Settings.Accounts.Find(acc => acc.AccountKey == new Uri(new Uri(monitor.AuthenticationUrl), monitor.UserName));
|
|
779 | 779 |
account.IsExpired = true; |
780 | 780 |
Notify(new ExpirationNotification(account)); |
781 | 781 |
//TryAuthorize(monitor.UserName, retries).Wait(); |
Also available in: Unified diff