angular-django-registration-auth
angular-django-registration-auth copied to clipboard
ngCookies - Cookie Methods Different for Angular 1.4 +
Hi -
Thanks for open sourcing this time saver.
I noticed the cookie methods in djangoAuth.js need to be updated for later versions of angular
delete $cookies.token;
changes to:
$cookies.remove('token');
$cookies.token
changes to:
$cookies.get('token')
$cookies.token = data.key;
changes to:
$cookies.put("token", data.key);
Not sure if the this project is still active but thought I'd make a note here if someone wants to try this with a newer version of angular.
You're right. I've already proposed that. Can someone update the code ?
+1 had same problem. Can't easily make PR because of other code changes intermingled and didn't fork ;|