Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
U
UGC Heaven Web PHP
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Administrator
  • UGC Heaven Web PHP
  • Repository

Switch branch/tag
  • ugc-heaven-web-php
  • app
  • Modules
  • Auth
  • Controllers
  • ResetPasswordController.php
Find file
BlameHistoryPermalink
  • Mahmoud Aglan's avatar
    fix(auth): return proper redirects for web form submissions instead of raw JSON · b1a00cdb
    Mahmoud Aglan authored Jun 28, 2026
    All auth controllers were always returning JSON responses via the ApiResponse
    trait, even for standard HTML form submissions. Browser forms don't set
    Accept: application/json, so they received raw JSON text instead of proper
    redirects/error displays. Now all controllers check expectsJson() to serve
    both web and API clients correctly.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    b1a00cdb
ResetPasswordController.php 1.42 KB
EditWeb IDE

Replace ResetPasswordController.php

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.