File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
src/client/modules/lib/kb_lib Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -674,19 +674,6 @@ export class Auth2Session {
674674 new Cookie ( this . cookieName , '' ) . setPath ( '/' )
675675 ) ;
676676
677- // Also remove the domain level cookie in case it was in advertently
678- // created. This can be a cause for a corrupt token, since the old auth
679- // system tokens are invalid, and it could create domain level cookies.
680- // New auth code does not (other than the backup cookie.)
681- const domainParts = window . location . hostname . split ( '.' ) ;
682- let domain ;
683- for ( let len = 2 ; len <= domainParts . length ; len += 1 ) {
684- domain = domainParts . slice ( - len ) . join ( '.' ) ;
685- this . cookieManager . removeItem (
686- new Cookie ( this . cookieName , '' ) . setPath ( '/' ) . setDomain ( domain )
687- ) ;
688- }
689-
690677 if ( this . extraCookies ) {
691678 this . extraCookies . forEach ( ( cookieConfig ) => {
692679 this . cookieManager . removeItem (
You can’t perform that action at this time.
0 commit comments