protect unlock api endpoint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-03 17:18:23 +11:00
parent 85bea202f0
commit f7168d465a
4 changed files with 19 additions and 5 deletions

View File

@@ -28,3 +28,7 @@ func ProvideKey() ([]byte, error) {
return nil, errors.New("secret key has not been received")
}
}
func CheckKeyProvided() bool {
return secretReceived
}