add domain to deleteCookie function
This commit is contained in:
parent
ed1f8e75cb
commit
1fb7229aa1
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ function getCookie(name: string) {
|
|||
}
|
||||
|
||||
function deleteCookie(name: string) {
|
||||
document.cookie = name + '=; Max-Age=-99999999; path=/;';
|
||||
document.cookie = name + `=; Max-Age=-99999999; domain=.${DOMAIN}; path=/;`;
|
||||
}
|
||||
|
||||
export const setSavedPassword = (value?: string, saveToDisk: boolean) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue