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

DEV: Add session to before_auth and after_auth hooks #13123

Merged
merged 1 commit into from May 24, 2021
Merged

Conversation

davidtaylorhq
Copy link
Member

This allows plugins to store/modify things in the session (e.g. the destination_url). This change is backwards compatible with existing plugins. If they do not specify a third argument, they will just be passed the first two.

This allows plugins to store/modify things in the session (e.g. the destination_url). This change is backwards compatible with existing plugins. If they do not specify a third argument, they will just be passed the first two.
@davidtaylorhq
Copy link
Member Author

(example use: discourse/discourse-lti#6)

@davidtaylorhq davidtaylorhq merged commit fc6e7dd into master May 24, 2021
@davidtaylorhq davidtaylorhq deleted the auth-hooks branch May 24, 2021 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants