(lshd_userauth_config_handler): New function.
(main_options): New options --password, --publickey, --root-login, and negated versions. (handle_userauth): Implement the the options. (handle_publickey, handle_password): Take the configuration as argument, and return 0 if the method is not enabled. Rev: src/lshd-userauth.c:1.18
Please register or sign in to comment