Skip to content

Fix File Upload Issue with Login Required Decorator and AJAX #8

Closed

Description

@BuczynskiRafal

Resolve an issue with the file upload functionality, which requires user authentication before uploading files. The problem is that the AJAX request does not redirect the user to the login page when not logged in.

Activity

  1. BuczynskiRafal commented on Oct 18, 2026

    @BuczynskiRafal
    OwnerAuthor

    Resolved via #71, #81, #89, and #90. AJAX endpoints use @ajax_login_required (returning HTTP 401 JSON with login_url), and client-side handlers (auth-guard.js, upload_zone.js, and async-form.js) redirect unauthenticated or expired sessions directly to the login page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions