Add password hashing with argon2
This commit is contained in:
parent
01da46b81e
commit
1dd0332bc1
11 changed files with 107 additions and 15 deletions
6
internal/models/user.go
Normal file
6
internal/models/user.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package models
|
||||
|
||||
type User struct {
|
||||
Password string
|
||||
Salt string
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue