add check password hook

its main use case is to allow to easily support things like password+OTP for
protocols without keyboard interactive support such as FTP and WebDAV
This commit is contained in:
Nicola Murino
2020-08-19 19:36:12 +02:00
parent 04c9a5c008
commit 8b0a1817b3
27 changed files with 526 additions and 95 deletions

View File

@@ -84,7 +84,9 @@
"credentials_path": "credentials",
"pre_login_hook": "",
"post_login_hook": "",
"post_login_scope": 0
"post_login_scope": 0,
"check_password_hook": "",
"check_password_scope": 0
},
"httpd": {
"bind_port": 8080,
@@ -101,4 +103,4 @@
"ca_certificates": [],
"skip_tls_verify": false
}
}
}