protect unlock api endpoint
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:
@@ -28,3 +28,7 @@ func ProvideKey() ([]byte, error) {
|
||||
return nil, errors.New("secret key has not been received")
|
||||
}
|
||||
}
|
||||
|
||||
func CheckKeyProvided() bool {
|
||||
return secretReceived
|
||||
}
|
||||
|
Reference in New Issue
Block a user