Skip to content
Snippets Groups Projects

Added new Constructro to logn model and started using the new constructor in UserService

Merged Mads Lundegaard requested to merge Refactor_CreateUser into dev

Previously when creating a User we set the password and hash as blank as we had to have a user since the ID og login is the username. I created a new constructor which only takes a User as input. I feel like this is a safer way of doing it.

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
Please register or sign in to reply
Loading