mirror of
https://github.com/discourse/discourse.git
synced 2025-04-26 00:24:31 +08:00
Revert "FIX: Auth popup handling for Safari same-site cookie quirks"
This reverts commit 310a8ac2427978779c1bb31f71321bfb84688336. It seems this breaks google authentication. My suspicion is opening the URL twice invalidates the CSRF after the first access.
This commit is contained in:
parent
52461abad9
commit
3e3f6b1b62
@ -53,7 +53,7 @@ const LoginMethod = Ember.Object.extend({
|
||||
}
|
||||
LoginMethod.buildPostForm(authUrl).then(form => {
|
||||
const windowState = window.open(
|
||||
authUrl,
|
||||
"about:blank",
|
||||
"auth_popup",
|
||||
`menubar=no,status=no,height=${height},width=${width},left=${left},top=${top}`
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user