This commit is contained in:
Jamie Cameron
2024-05-08 10:33:06 -07:00
parent 801f1f61d8
commit f49f8f2fb1
3 changed files with 12 additions and 4 deletions

View File

@ -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/" );

View File

@ -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();

View File

@ -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