Skip to content

Commit

Permalink
Fix Login from Social Auth
Browse files Browse the repository at this point in the history
  • Loading branch information
tcampbPPU committed Aug 12, 2023
1 parent 7ee35f3 commit 729d69c
Show file tree
Hide file tree
Showing 5 changed files with 2,640 additions and 2,361 deletions.
2 changes: 1 addition & 1 deletion client/components/header/HeaderLoginModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function login(provider: 'facebook' | 'google'): void {
const height = 660
const left = window.screen.width / 2 - (width / 2)
const top = window.screen.height / 2 - (height / 2)
const win = window.open(`${config.apiURL}/redirect/${provider}`, 'Log In',
const win = window.open(`${config.public.apiURL}/redirect/${provider}`, 'Log In',
`toolbar=no, location=no, directories=no, status=no, menubar=no, scollbars=no,
resizable=no, copyhistory=no, width=${width},height=${height},top=${top},left=${left}`)
const interval = setInterval(() => {
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"prefer-stable": true,
"scripts": {
"test": [
"vendor/bin/phpunit -c tests/php/phpunit.xml --colors=always --testdox --coverage-text"
"vendor/bin/phpunit -c tests/php/phpunit.xml --colors=always --testdox"
],
"test:coverage": [
"XDEBUG_MODE=coverage vendor/bin/phpunit -c tests/php/phpunit.xml --colors=always --testdox --coverage-text"
Expand Down Expand Up @@ -87,7 +87,6 @@
]
},
"scripts-descriptions": {
"test": "Run the PHPUnit tests.",
"test:coverage": "Run the PHPUnit tests with coverage.",
"post-autoload-dump": "Run after autoloading has been dumped.",
"post-root-package-install": "Run after the root package has been installed.",
Expand Down
Loading

0 comments on commit 729d69c

Please sign in to comment.