mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
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:
parent
839b51b9d2
commit
3c3fd0804a
2 changed files with 3 additions and 3 deletions
|
@ -17,6 +17,7 @@ Bugs fixed:
|
||||||
* [BUG-2213] - NullReferenceException in the Freehand tool
|
* [BUG-2213] - NullReferenceException in the Freehand tool
|
||||||
* [BUG-2203] - ArgumentNullException in the Freehand tool
|
* [BUG-2203] - ArgumentNullException in the Freehand tool
|
||||||
* [BUG-2141] - Imgur authentication issues due to old embedded IE
|
* [BUG-2141] - Imgur authentication issues due to old embedded IE
|
||||||
|
* [BUG-2246] - Login issues with the Atlassian Jira Cloud
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
* [FEATURE-1064] - Added CTRL+Backspace & CTRL+A to the text tool
|
* [FEATURE-1064] - Added CTRL+Backspace & CTRL+A to the text tool
|
||||||
|
|
|
@ -107,10 +107,9 @@ namespace GreenshotJiraPlugin {
|
||||||
_jiraClient.Behaviour.SetConfig(new SvgConfiguration { Width = CoreConfig.IconSize.Width, Height = CoreConfig.IconSize.Height });
|
_jiraClient.Behaviour.SetConfig(new SvgConfiguration { Width = CoreConfig.IconSize.Width, Height = CoreConfig.IconSize.Height });
|
||||||
|
|
||||||
_issueTypeBitmapCache = new IssueTypeBitmapCache(_jiraClient);
|
_issueTypeBitmapCache = new IssueTypeBitmapCache(_jiraClient);
|
||||||
LoginInfo loginInfo;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
loginInfo = await _jiraClient.Session.StartAsync(user, password, cancellationToken);
|
await _jiraClient.Session.StartAsync(user, password, cancellationToken);
|
||||||
Monitor = new JiraMonitor();
|
Monitor = new JiraMonitor();
|
||||||
await Monitor.AddJiraInstanceAsync(_jiraClient, cancellationToken);
|
await Monitor.AddJiraInstanceAsync(_jiraClient, cancellationToken);
|
||||||
|
|
||||||
|
@ -129,7 +128,7 @@ namespace GreenshotJiraPlugin {
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return loginInfo != null;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue