Attempt to fix inability to logout from some instances (subdomains) (#1809)
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Tue, 4 Jul 2023 16:52:14 +0000 (12:52 -0400)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2023 16:52:14 +0000 (12:52 -0400)
commit7eddc52c1302a1f0d7189576ace44957d6b42d2a
tree9a87e154c5612ba29b230a802d43df6e739c733f
parentf6cbc896afd120ea6b41c230675267ab319591df
Attempt to fix inability to logout from some instances (subdomains) (#1809)

* slight refactor, tweak params

* fix paths

* remove domain

* remove expires

* Use maxAge instead of expires

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
src/shared/config.ts
src/shared/services/UserService.ts
src/shared/utils/browser/clear-auth-cookie.ts [new file with mode: 0644]
src/shared/utils/browser/index.ts
src/shared/utils/browser/set-auth-cookie.ts [new file with mode: 0644]