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

Add the option to confirm the logout action #81

Open
visto9259 opened this issue Jun 17, 2024 · 0 comments
Open

Add the option to confirm the logout action #81

visto9259 opened this issue Jun 17, 2024 · 0 comments
Labels
enhancement New feature or request V4 To be implemented in version 4
Milestone

Comments

@visto9259
Copy link
Member

visto9259 commented Jun 17, 2024

The logout action in the User Controller will log out the user without allowing the user to confirm the logout.

Add the option to confirm the logout action:

  • add an option to Module Options (lmcuser key) to enable/disable confirmation. The default should be 'disabled'.
  • Create logout form. Add service to instantiate the form.
  • Check the confirm option in the logout action, if disabled, perform the logout
  • Check the confirm option in the logout action, if enabled, return a view with a simple form to confirm logout action. If confirmed, send a POST to the logout action
  • In the logout action, if the request is a POST with a confirmation, perform the logout action
@visto9259 visto9259 added enhancement New feature or request V4 To be implemented in version 4 labels Jun 17, 2024
@visto9259 visto9259 added this to the 4.0.0 milestone Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request V4 To be implemented in version 4
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant