Skip to content

Commit

Permalink
Fix issue with token cache population in login
Browse files Browse the repository at this point in the history
  • Loading branch information
markcowl committed May 1, 2018
1 parent a96564f commit b0144f8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ public AzureRmProfile Login(
foreach (var subscription in subscriptions)
{
var tempContext = new AzureContext(subscription, account, environment, newTenant);
tempContext.TokenCache = _cache;
string tempName = null;
if (!_profile.TryGetContextName(tempContext, out tempName))
{
Expand Down

0 comments on commit b0144f8

Please sign in to comment.