BUG-2246: Fix for changes in the cloud login, this is more or less a hack until the Dapplo.Jira project can be updated.

This commit is contained in:
Robin 2017-08-07 22:08:28 +02:00
commit 3c3fd0804a
2 changed files with 3 additions and 3 deletions

View file

@ -17,6 +17,7 @@ Bugs fixed:
* [BUG-2213] - NullReferenceException in the Freehand tool
* [BUG-2203] - ArgumentNullException in the Freehand tool
* [BUG-2141] - Imgur authentication issues due to old embedded IE
* [BUG-2246] - Login issues with the Atlassian Jira Cloud
Features:
* [FEATURE-1064] - Added CTRL+Backspace & CTRL+A to the text tool

View file

@ -107,10 +107,9 @@ namespace GreenshotJiraPlugin {
_jiraClient.Behaviour.SetConfig(new SvgConfiguration { Width = CoreConfig.IconSize.Width, Height = CoreConfig.IconSize.Height });
_issueTypeBitmapCache = new IssueTypeBitmapCache(_jiraClient);
LoginInfo loginInfo;
try
{
loginInfo = await _jiraClient.Session.StartAsync(user, password, cancellationToken);
await _jiraClient.Session.StartAsync(user, password, cancellationToken);
Monitor = new JiraMonitor();
await Monitor.AddJiraInstanceAsync(_jiraClient, cancellationToken);
@ -129,7 +128,7 @@ namespace GreenshotJiraPlugin {
{
return false;
}
return loginInfo != null;
return true;
}
/// <summary>