[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Sun, 16 Dec 2007 17:45:21 -0000
raeburn Sun Dec 16 12:45:21 2007 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Default (from domain configuration before usercreation options available) is for all authentication types (except filesystem auth) to be available options in all contexts.
- Eliminate double declaration of @authtypes array.
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.34 loncom/interface/domainprefs.pm:1.35
--- loncom/interface/domainprefs.pm:1.34 Wed Dec 12 14:44:53 2007
+++ loncom/interface/domainprefs.pm Sun Dec 16 12:45:20 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.34 2007/12/12 19:44:53 raeburn Exp $
+# $Id: domainprefs.pm,v 1.35 2007/12/16 17:45:20 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1391,8 +1391,13 @@
}
}
}
+ } else {
+ foreach my $item (@contexts) {
+ foreach my $type (@authtypes) {
+ $checked{$item}{$auth} = ' checked="checked" ';
+ }
+ }
}
- my @authtypes = ('int','krb4','krb5','loc');
my %title = &context_names();
my %authname = &authtype_names();
my $rownum = 0;