Revert "FIX: Auth popup handling for Safari same-site cookie quirks"
This reverts commit 310a8ac242
.
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 => {
|
LoginMethod.buildPostForm(authUrl).then(form => {
|
||||||
const windowState = window.open(
|
const windowState = window.open(
|
||||||
authUrl,
|
"about:blank",
|
||||||
"auth_popup",
|
"auth_popup",
|
||||||
`menubar=no,status=no,height=${height},width=${width},left=${left},top=${top}`
|
`menubar=no,status=no,height=${height},width=${width},left=${left},top=${top}`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue