Small update to update account command

This commit is contained in:
Torkel Ödegaard
2015-01-17 08:20:25 +01:00
parent 1532eb4278
commit c970e82758
5 changed files with 6 additions and 11 deletions
+1
View File
@@ -58,6 +58,7 @@ func GetContextHandler() macaron.Handler {
// api key role
ctx.UserRole = tokenInfo.Role
ctx.ApiKeyId = tokenInfo.Id
ctx.UsingAccountId = ctx.AccountId
ctx.UsingAccountName = ctx.UserName
}