Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Condition to not authenticate twice causes user to be not logged in during Create/Edit #14

Open
jkohlbach opened this issue Jan 7, 2015 · 0 comments

Comments

@jkohlbach
Copy link

Hi, took me a while to narrow this down but it seems that the following code causes issues where users aren't logged in properly during Create/Edit calls:

// Don't authenticate twice
if ( ! empty( $user ) ) {
    return $user;
}

I comment this out and everything starts working properly.

I tested this on multiple single site installations on several servers. It was the only way to get the Basic Auth working.

I suspect the issue might have been introduced when some conditions for multi-site recursion was addressed? #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant