Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A aurweb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Frederik Schwan
  • aurweb
  • Repository
  • aurweb
  • web
  • lib
  • acctfuncs.inc.php
Find file BlameHistoryPermalink
  • Marcel Korpel's avatar
    Set correct 'My Account' link after changing username · 8db2ff5d
    Marcel Korpel authored Jul 19, 2015 and Lukas Fleischer's avatar Lukas Fleischer committed Aug 08, 2015
    
    
    Don't print messages (and the account form) in process_account_form()
    anymore, but return them to the caller. When updating accounts, this
    function will be called before the headers are written.
    
    If a username has been changed by process_account_form(), the headers
    now show the updated username from the database in the 'My Account'
    link. Clicking on it immediately after changing a username will no
    longer lead to a non-existing URL.
    
    Signed-off-by: default avatarMarcel Korpel <marcel.korpel@gmail.com>
    Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
    8db2ff5d