Skip to content

Manually login #44

Description

@blsn

I would like to use the script in ajax website that loads content without refresh.

I understand that login via post data, means simply logging in via the login form, after the user has submitted his login/password successfully.

Since I use a callback function, I cannot use the above procedure for logging in. I want to perform a manual PHP login by passing the login form parameters to a callback function, e.g. as follows:

$login->loginWithPostData($_POST['user_name'], $_POST['user_password'], $_POST['user_rememberme']);

How to manually login?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions