It is currently Mon Oct 25, 2021 10:29 am

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Prevent Automatic Login
PostPosted: Mon Nov 30, 2015 11:39 am 

Joined :
Mon Nov 30, 2015 11:35 am

Posts : 1
Hello. Can anyone teach me how to disable the automatic login in the Apptha Social Login.


Report this post
Top
 Profile  
 
PostPosted: Thu Dec 17, 2015 12:30 pm 

Joined :
Thu Dec 17, 2015 11:43 am

Posts : 0
Hi,

Based on your request we will give the steps for disable automatic login

Step 1 :
Got to this file path in your package which is mentioned below
app/design/frontend/default/stylish/template/sociallogin/sociallogin.phtml

Step 2 :
Find this javascript function "window.fbAsyncInit = function() {" and inside this fucntion replace the line of code "//login()" instead "login()".

Thank you.


Report this post
Top
 Profile  
 
PostPosted: Tue Jul 19, 2016 6:52 am 

Joined :
Mon Nov 30, 2015 11:35 am

Posts : 1
I did try to go with it but still I login automatically when my facebook account is login on the same tab.

Is this the only solution for this?


Report this post
Top
 Profile  
 
PostPosted: Wed Aug 03, 2016 5:26 pm 

Joined :
Fri Jul 24, 2015 11:07 am

Posts : 0
Hi,

Kindly change the below lines in sociallogin.phtml

FB.Event.subscribe('auth.login', function(response) {
/* do something with response */
login();
});
into
FB.Event.subscribe('auth.login', function(response) {
/* do something with response */
// login();
});

Above solution was verified and i hope you too will get the result.


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron