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

Anonymous users enabled causes login trouble #2

Open
Aelion-MM opened this issue Jan 27, 2016 · 0 comments
Open

Anonymous users enabled causes login trouble #2

Aelion-MM opened this issue Jan 27, 2016 · 0 comments

Comments

@Aelion-MM
Copy link

When you have anonymous users enabled you are not able to login via the callback because of an existing session that is being detected and used in the loginhelper.

If you change line 52 of /oauthmodule/actions/custom/LoginHelper.java into
if (activeSession.getId().toString().equals(cookie) && !activeSession.getUser().isAnonymous()) {
It will ignore any anonymous user session and overwrite the anonymous user session with a fresh user session.

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