aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-22 00:36:13 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit29f599dc9d6d72247841ae441a6cda95b273270c (patch)
tree5edacabf75a083d25afdbdf92ce66f628f2c1b18 /vnext/src/components
parent2b02456c23ecec6039278cbdc5362a9551b9a58a (diff)
Simplify Facebook login
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/LoginButton.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/components/LoginButton.js b/vnext/src/components/LoginButton.js
index 558f61f4..0a861307 100644
--- a/vnext/src/components/LoginButton.js
+++ b/vnext/src/components/LoginButton.js
@@ -57,7 +57,7 @@ export default class LoginButton extends React.Component {
onClose={this.toggleModal}>
<div className="dialoglogin">
<p>Please, introduce yourself:</p>
- <a href={`https://api.juick.com/_fblogin?state=${window.location.protocol}//${window.location.host}/_fblogin`} id="signfb"><Icon name="ei-sc-facebook" size="s" />Login with facebook</a>
+ <a href={`https://api.juick.com/_fblogin?state=${window.location.protocol}//${window.location.host}/${window.location.pathname}`} id="signfb"><Icon name="ei-sc-facebook" size="s" />Login with facebook</a>
<a href="/_vklogin" id="signvk"><Icon name="ei-sc-vk" size="s" />Login with VK</a>
<p>Already registered?</p>
<form onSubmit={this.login.bind(this)}>