Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Login from Social Auth #114

Merged
merged 1 commit into from
Aug 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading