How to use the cookie.get function in cookie

To help you get started, we’ve selected a few cookie examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jacwright / StaticSite / src / admin / js / src / app / screens / login.js View on Github external
screens.bind('open:login', function() {
	$('#login :text:visible:first').focus();
	$('#login :checkbox[name=rememberme]').attr('checked', !!cookie.get('rememberme'));
	data.auth().then(function() {
		screens.go('dashboard');
	});
});