MCPcopy Index your code
hub / github.com/ddserver/ddserver / config_captcha

Function config_captcha

ddserver/interface/captcha.py:27–37  ·  view source on GitHub ↗
(config_decl)

Source from the content-addressed store, hash-verified

25
26@extend('ddserver.config:ConfigDeclaration')
27def config_captcha(config_decl):
28 with config_decl.declare('captcha') as s:
29 s('enabled',
30 conv = bool,
31 default = False)
32 s('recaptcha_public_key',
33 conv = str,
34 default = '')
35 s('recaptcha_private_key',
36 conv = str,
37 default = '')
38
39
40

Callers

nothing calls this directly

Calls 2

sFunction · 0.85
declareMethod · 0.80

Tested by

no test coverage detected