mirror of https://github.com/apache/cloudstack.git
Fix the broken ConsoleProxyServlet after the merge of API refactoring changes
This commit is contained in:
parent
2fd8c769dc
commit
8555eb1913
|
|
@ -88,9 +88,10 @@ public class ConsoleProxyServlet extends HttpServlet {
|
|||
return;
|
||||
}
|
||||
} else {
|
||||
userId = (String)session.getAttribute("userid");
|
||||
account = (String)session.getAttribute("account");
|
||||
// adjust to latest API refactoring changes
|
||||
userId = ((Long)session.getAttribute("userid")).toString();
|
||||
accountObj = (Account)session.getAttribute("accountobj");
|
||||
account = "" + accountObj.getId();
|
||||
}
|
||||
|
||||
// Do a sanity check here to make sure the user hasn't already been deleted
|
||||
|
|
|
|||
Loading…
Reference in New Issue