Implement registration

This commit is contained in:
2016-12-20 15:26:31 +01:00
parent b9d428d386
commit a71afaf6b9
4 changed files with 42 additions and 1 deletions

View File

@ -20,4 +20,5 @@ type UserService interface {
// CredentialVerifier verifies the provided credentials
type CredentialVerifier interface {
Verify(password string, hashOnDb string) error
Hash(password string) (string, error)
}