Current time: 05-19-2024, 07:16 PM Hello There, Guest! (LoginRegister)


Post Reply 
Login from website to ispCP
Author Message
davidxone Offline
Newbie
*

Posts: 5
Joined: Jan 2011
Reputation: 0
Post: #3
RE: Login from website to ispCP
(03-20-2011 04:48 AM)kilburn Wrote:  You can not create the session directly into the database, since the corresponding session file (located in /var/www/ispcp/gui/phptmp) will be missing.

What you should do is:

1. Login the user by submitting a proper POST request to the login page (as if it was a guy with a browser performing the login).
2. Update the "ipaddr" field in the "login" table of the ispcp database.
3. Redirect the user to ispcp.

Thank you for answer.

But I have one problem - I can read user password from database only in hash - i dont have source(of password - non-hash) necessary for proper login.

Can you give advice, how I can solve this? Smile
(This post was last modified: 03-20-2011 10:09 AM by davidxone.)
03-20-2011 10:08 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Login from website to ispCP - davidxone - 03-20-2011, 02:05 AM
RE: Login from website to ispCP - kilburn - 03-20-2011, 04:48 AM
RE: Login from website to ispCP - davidxone - 03-20-2011 10:08 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)