mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Add more authentication methods https://github.com/webmin/webmin/issues/2154
This commit is contained in:
@ -4,7 +4,10 @@ BEGIN { push(@INC, ".."); };
|
||||
use WebminCore;
|
||||
&init_config();
|
||||
|
||||
@supported_auths = ( "anonymous", "plain", "digest-md5", "cram-md5", "apop" );
|
||||
@supported_auths = ( "anonymous", "plain", "digest-md5", "cram-md5", "apop",
|
||||
"scram-sha-1", "scram-sha-256", "ntlm", "gss-spnego",
|
||||
"gssapi", "rpa", "otp", "skey", "external",
|
||||
"oauthbearer", "xoauth2" );
|
||||
@mail_envs = ( undef, "maildir:~/Maildir", "mbox:~/mail/:INBOX=/var/mail/%u",
|
||||
"maildir:~/Maildir:mbox:~/mail/" );
|
||||
|
||||
|
@ -29,9 +29,9 @@ else {
|
||||
"auth", "default"));
|
||||
}
|
||||
print &ui_table_row($text{'login_mechs'},
|
||||
&ui_select("mechs", \@mechs,
|
||||
[ map { [ $_, $text{'login_'.$_} ] } @supported_auths ],
|
||||
4, 1, 1));
|
||||
&ui_select("mechs", \@mechs,
|
||||
[ map { [ $_, $text{'login_'.$_} || uc($_) ] } @supported_auths ],
|
||||
4, 1, 1));
|
||||
|
||||
print &ui_table_hr();
|
||||
|
||||
|
@ -92,6 +92,11 @@ login_plain=Plain-text
|
||||
login_digest-md5=Digest-MD5
|
||||
login_cram-md5=Cram-MD5
|
||||
login_apop=APOP
|
||||
login_otp=One time password
|
||||
login_skey=Security key
|
||||
login_oauthbearer=OAuth2 bearer authentication
|
||||
login_xoauth2=Google OAuth2 bearer authentication
|
||||
login_external=External SASL authentication
|
||||
login_userdb=Data source for users, homes and IDs
|
||||
login_passwd=Standard Unix user database
|
||||
login_passwdfile=Custom password file $1
|
||||
|
Reference in New Issue
Block a user