Add method to set seed

Signed-off-by: Rahul Rudragoudar <rr83019@gmail.com>
This commit is contained in:
Rahul Rudragoudar
2021-04-24 20:44:20 +05:30
parent 30bb26473e
commit 04755c0a07
2 changed files with 5 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ object Config {
val allowedMedia: Set[String] = captchaConfig.flatMap(_.allowedMedia).toSet
val allowedInputType: Set[String] = captchaConfig.flatMap(_.allowedInputType).toSet
HelperFunctions.seed = seed
HelperFunctions.setSeed(seed)
private def getDefaultConfig(): String = {
val defaultConfigMap =