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

feat: Add new before_login hook #26394

Merged
merged 1 commit into from May 13, 2024
Merged

Conversation

paurosello
Copy link
Contributor

Please provide enough information so that others can review your pull request:

Add a new hook before user logs in.

Explain the details for making this change. What existing problem does the pull request solve?

I would like to run custom logic that updates a user even before it tries to login. Can be useful to deactivate/activate users depending on external data from frappe.

@paurosello paurosello requested a review from a team as a code owner May 9, 2024 16:00
@paurosello paurosello requested review from ankush and removed request for a team May 9, 2024 16:00
@github-actions github-actions bot added the add-test-cases Add test case to validate fix or enhancement label May 9, 2024
@paurosello paurosello changed the title feat:Add new login hook feat: Add new before_login hook May 9, 2024
@ankush ankush merged commit c19e6a8 into frappe:develop May 13, 2024
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add-test-cases Add test case to validate fix or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants