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

Update reset_user_sessions to work from either CLI or web #36056

Merged
merged 1 commit into from
Dec 4, 2023

Commits on Dec 4, 2023

  1. Update reset_user_sessions to work from either CLI or web

    This updates the `reset_user_sessions` method to not class `flash` if
    it is not being run within the web context but to log the warning
    message instead. Without this change, `flask fab reset-password` would
    fail if a warning message needed to be printed.
    pdebelak committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    1f88ad1 View commit details
    Browse the repository at this point in the history