Kayako logo
Developers & Code Interested in customizing your Kayako products? Discuss modifications and develop your own mods with the community.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
bbutle01 Offline
New Member
 
Posts: 13
Join Date: May 2008
loginshare question - 28-05-2008, 04:35 PM

Ok, I've developed my own loginshare. It works... the first time only.

After a user logs out, they can't log in again.

I noticed that they are being added to swusers table and swuseremails... which I find odd. Is that normal behaviour when using a login share, or is that the problem?

If I delete them from those tables they can log in again, once...
   
Reply With Quote
  (#2) Old
Salaria Offline
New Member
 
Posts: 17
Join Date: Jan 2008
28-05-2008, 04:47 PM

Hi, Here might be problem with your "loginShareAuthorize" function. Can you please paste here the code snippet or PM me to help you better.

Regards,
Mahesh Salaria

Last edited by Salaria; 28-05-2008 at 04:50 PM.
   
Reply With Quote
  (#3) Old
Dewak Offline
Member
 
Dewak's Avatar
 
Posts: 130
Join Date: Feb 2008
29-05-2008, 01:29 AM

LoginShare by default adds the user to the Kayako database if the user has been successfully authenticated on the external database.
You have to check your code and see what happens when your user exists on the external database and also exists on Kayako (this would be the second login attempt)

Best


Andres Berdugo
Email & MSN: andres[at]dewak.com
Skype: andres.dewak
Dewak: Kayako Development, Consultancy and Support
http://www.dewak.com
   
Reply With Quote
  (#4) Old
bbutle01 Offline
New Member
 
Posts: 13
Join Date: May 2008
29-05-2008, 10:04 PM

thanks for the tip guys... The problem was mostly with the fact that I'm not md5ing the data... I've got two options the way I see it. Add a new md5password_usr field, and update it with an md5 version of the password, I'll do on a cron job... I can't easily put it in when the user is registered.

Or a view that instead of displaying password_usr, displays md5(password_usr).

I did the first option to test my code, and it worked, but I don't like a bunch of scripts running on cron jobs, so I think I'll do the second.
   
Reply With Quote
Reply

Tags
loginshare

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about loginshare nimasdj Developers & Code 5 22-01-2008 03:18 PM
Another X-Cart LoginShare Question Toefuzz SupportSuite, eSupport and LiveResponse 8 30-05-2007 05:49 PM
LoginShare question nimasdj SupportSuite, eSupport and LiveResponse 8 13-02-2007 12:35 AM
loginshare question kteicher SupportSuite, eSupport and LiveResponse 0 20-12-2006 01:21 AM
Yet another LoginShare question ryoakem SupportSuite, eSupport and LiveResponse 0 15-03-2006 03:32 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46