verify unlock key against hash on disk
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -12,8 +12,7 @@ type UnlockInput struct {
|
||||
SecretKey string `json:"secretKey"`
|
||||
}
|
||||
|
||||
// receive secret key and store it using the Key model
|
||||
|
||||
// Unlock receives secret key and store it in memory
|
||||
func Unlock(c *gin.Context) {
|
||||
var input UnlockInput
|
||||
|
||||
|
Reference in New Issue
Block a user