You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/06/24 17:01:21 UTC

[cloudstack-primate] branch master updated: auth: Removing setting a cookie for sessionkey (#453)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new d8d9231  auth: Removing setting a cookie for sessionkey (#453)
d8d9231 is described below

commit d8d9231a51e2736ba2c17ce0db278aaa761c7cf6
Author: davidjumani <dj...@gmail.com>
AuthorDate: Wed Jun 24 17:01:11 2020 +0000

    auth: Removing setting a cookie for sessionkey (#453)
    
    Primate should not set sessionkey cookie
---
 src/store/modules/user.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index d4a8a59..6d24e5f 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -89,7 +89,6 @@ const user = {
           Cookies.set('account', result.account, { expires: 1 })
           Cookies.set('domainid', result.domainid, { expires: 1 })
           Cookies.set('role', result.type, { expires: 1 })
-          Cookies.set('sessionkey', result.sessionkey, { expires: 1 })
           Cookies.set('timezone', result.timezone, { expires: 1 })
           Cookies.set('timezoneoffset', result.timezoneoffset, { expires: 1 })
           Cookies.set('userfullname', result.firstname + ' ' + result.lastname, { expires: 1 })