Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

[FEATURE] User endpoint auto-hash and validate #31

Merged
merged 3 commits into from Apr 23, 2020

Conversation

bmikaili
Copy link
Contributor

The User Endpoint is missing some functionality that I have implemented using a custom endpoint. E.g. when creating a User you should not need to calculate the Hash yourself. In additon some check if a user already exist should be in there, e.g. a unique username.

Description

Auto hash password upon creation of a user with the User component and also check if that username is already taken.

Related Issue

Closes #22

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • SwiftLint throws no warnings or errors.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@bmikaili bmikaili merged commit 7fba228 into develop Apr 23, 2020
@bmikaili bmikaili deleted the feature/user-endpoint-automation branch May 6, 2020 12:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] User endpoint auto-hash and validate
1 participant