LP#1775466 StoreService marks all cookies secure
authorBill Erickson <berickxx@gmail.com>
Thu, 12 Jul 2018 21:30:35 +0000 (17:30 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 12 Jul 2018 21:33:54 +0000 (17:33 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/core/store.service.ts

index 5a78f84..cce5a46 100644 (file)
@@ -71,7 +71,8 @@ export class StoreService {
         if (!isJson) {
             val = JSON.stringify(val);
         }
-        this.cookieService.put(key, val, {path : this.loginSessionBasePath});
+        this.cookieService.put(key, val, 
+            {path : this.loginSessionBasePath, secure: true});
     }
 
     getItem(key: string): Promise<any> {