Changeset 13794
- Timestamp:
- 2007-01-25T13:59:55+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/cgi-bin/gliserver.pl
r13497 r13794 7 7 8 8 9 my $authentication_enabled = 1;10 9 my $debugging_enabled = 0; 11 10 … … 55 54 $gsdl_cgi->generate_error("No username specified."); 56 55 } 56 # Remove the un argument (since this can mess up other scripts) 57 57 $gsdl_cgi->delete("un"); 58 58 … … 105 105 my $collection = shift(@_); 106 106 107 # Even if we're not authenticating remove the un and pw arguments, since these can mess up other scripts107 # Remove the pw argument (since this can mess up other scripts) 108 108 my $user_password = $gsdl_cgi->clean_param("pw"); 109 109 $gsdl_cgi->delete("pw"); 110 111 # Only authenticate if it is enabled112 return "all-collections-editor" if (!$authentication_enabled);113 110 114 111 if ((!defined $user_password) || ($user_password =~ m/^\s*$/)) {
Note:
See TracChangeset
for help on using the changeset viewer.