Skip to content
Snippets Groups Projects

CE-2083: replace user* hooks with common

Merged Christina Jenks requested to merge CE-2083-convert-useLogin-etc into develop

Replaces the useLogin, useLogin, and useUser* hooks with common

Affects:

  • login/logout and role functionality
  • user profile page

At a high level, it copies what is done in template-ui with some differences:

  • login sends userName instead of username :weary:
  • user roles are pulled from a dedicated endpoint / aren't included in user response
  • userInfo is served in an array instead of just an object...mayyyyybe a point of improvement later?

Closes CE-2083, CE-2084, CE-2085, CE-2086, CE-2087

Edited by Christina Jenks

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading