aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions4
1 files changed, 1 insertions, 3 deletions
diff --git a/global-functions b/global-functions
index da718f3..14b045e 100644
--- a/global-functions
+++ b/global-functions
@@ -405,9 +405,7 @@
# generate random 20 chars hex (0-9 and a-f)
:set GetRandom20CharHex do={
- :local Random ([ / certificate scep-server otp generate minutes-valid=0 as-value ]->"password");
- / certificate scep-server otp remove [ find where password=$Random ];
- :return $Random;
+ :return ([ / certificate scep-server otp generate minutes-valid=0 as-value ]->"password");
}
# generate random number