Cookie not working outside the component.js


#1

Hi, I use this plugin for my cookie

The problem is if I declare the cookie in component/registration.js, i see the cookie only in this page.

If i try to take the cookie for example in component/login.js the value is “”. I try to use the default example:

  this.cookie.setCookie('my-key', 'my-value', { expires: 7, path: '/' })

#2

You should ask this question at https://github.com/achambers/ember-cli-cookie