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

Avoid authentication required after logging in #9

Open
wvengen opened this issue Feb 3, 2021 · 1 comment
Open

Avoid authentication required after logging in #9

wvengen opened this issue Feb 3, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@wvengen
Copy link
Member

wvengen commented Feb 3, 2021

When first going to Foodsoft, access is denied because there is no session.
The login screen redirects you to the members system, which does the login.
Then one is redirected back to Foodsoft, and logging in.

The previous alert authentication required is still in the flash, which is shown. This is confusion, avoid it.

@wvengen wvengen changed the title Avoid _authentication required_ after logging in Avoid authentication required after logging in Feb 3, 2021
@wvengen
Copy link
Member Author

wvengen commented Feb 3, 2021

This can probably be avoided by clearing the flash before redirecting to the members system on login, or when the user has returned. Do make sure to test that other errors are not cleared (e.g. when the members system cannot be reached).
It needs to be changed in Foodsoft's vokomokum plugin.

@wvengen wvengen added enhancement New feature or request good first issue Good for newcomers labels Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant