Skip to content

Support username/password again - #113

Merged
johnsimons merged 2 commits into
masterfrom
issue-5347
Feb 28, 2019
Merged

Support username/password again#113
johnsimons merged 2 commits into
masterfrom
issue-5347

Conversation

@johnsimons

Copy link
Copy Markdown
Contributor

@johnsimons johnsimons self-assigned this Feb 28, 2019

@michaelnoonan michaelnoonan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will do what it says on the tin. One comment on simplifying.

{
using (var client = await CreateClient())
{
var repository = new OctopusAsyncRepository(client);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you decide to stick with UserRepository.SignIn() the var repository is only used inside the if.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@johnsimons
johnsimons merged commit cf114f4 into master Feb 28, 2019
@johnsimons
johnsimons deleted the issue-5347 branch February 28, 2019 06:49
@johnsimons johnsimons added this to the 4.0.1 milestone Feb 28, 2019
@johnsimons

Copy link
Copy Markdown
Contributor Author

Fixed in cf114f4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants