Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #247
Closed
Open
Created Feb 12, 2018 by Matija Obreza@mobrezaOwner

Password reset

Password reset stopped working on www.genesys-pgr.org due to user not being authenticated in line 233 of BasicUserServiceImpl:

@PreAuthorize("hasRole('ADMINISTRATOR') || principal.id == #user.id")

image001

The update

  1. User requests password reset
  2. User receives email and opens the link
  3. On opening the link, the current security context should be set to that user
  4. Setting password works again
Edited Feb 12, 2018 by Matija Obreza
Assignee
Assign to
Time tracking