Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: an error when an anonymous user fills the form (#13)
* Fix an error when an anonymous user fills the form SaveDBAction.execute method uses request.user for form_user but request.user is not an instance of User for AnonymousUsers therefore we need to check for whether the user is logged in or not * Update djangocms_form_builder/actions.py Cleaner way of checking for anonymous user Co-authored-by: Fabian Braun <[email protected]> --------- Co-authored-by: Fabian Braun <[email protected]>
- Loading branch information