Skip to content

Commit 3a6f26e

Browse files
committed
fixed login.js
1 parent f94d072 commit 3a6f26e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/synack/plugins/auth.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ def set_login_script(self):
9595
"loc.replace('https://platform." + self._state.synack_domain + "');" +\
9696
"}};" +\
9797
"(function() {" +\
98-
"sessionStorage.setItem('shared-session-com.synack.accessToken'" +\
98+
"sessionStorage.setItem('shared-session-" +\
99+
'.'.join(reversed(self._state.synack_domain.split('.'))) + ".accessToken'" +\
99100
",'" +\
100101
self._state.api_token +\
101102
"');" +\

0 commit comments

Comments
 (0)