Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • mahara mahara
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • mahara
  • maharamahara
  • Repository

Switch branch/tag
  • mahara
  • htdocs
  • auth
  • user.php
Find file BlameHistoryPermalink
  • Robert Lyon's avatar
    Bug 1734194: Infinite loop site crash if usr = 0 saved in usr_session · 128c3e76
    Robert Lyon authored Nov 24, 2017 and Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic committed Nov 29, 2017
    
    
    The USER object will have id = 0 when a user is logged out
    
    It should never end up in the usr_session table. This patch stops that
    from happening and also ignores usr = 0 insession table with setting
    up auth as well.
    
    behatnotneeded
    
    Change-Id: I0ba7afe0d21ae822daf8895af943f41048ba82b7
    Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
    (cherry picked from commit e7191aad)
    128c3e76

Replace user.php

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.