snapshot of https://github.com/traggo/server.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
build / build (push) Failing after 3s
Some checks failed
build / build (push) Failing after 3s
This commit is contained in:
14
user/userresolver.go
Normal file
14
user/userresolver.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package user
|
||||
|
||||
import (
|
||||
"github.com/jinzhu/gorm"
|
||||
"github.com/traggo/server/user/password"
|
||||
)
|
||||
|
||||
var createPassword = password.CreatePassword
|
||||
|
||||
// ResolverForUser resolves user specific things.
|
||||
type ResolverForUser struct {
|
||||
DB *gorm.DB
|
||||
PassStrength int
|
||||
}
|
||||
Reference in New Issue
Block a user