Commit 20b486dd authored by Leigh B Stoller's avatar Leigh B Stoller

No more guest users.

parent 57006981
#!/usr/bin/perl -w
#
# Copyright (c) 2008-2017 University of Utah and the Flux Group.
# Copyright (c) 2008-2018 University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
......@@ -61,7 +61,7 @@ my $privkeyfile;
my $slice;
my $sitemap;
my $usetracker = 0;
my $maxduration = 3; # Hours. For guests. Need to make this a site variable.
my $maxduration = 16; # Hours. Need to make this a site variable.
my @aggregate_urns = ();
# Protos
......@@ -185,7 +185,6 @@ if (! defined($this_user)) {
fatal("You ($UID) do not exist!");
}
$localuser = 1;
$maxduration = 16; # Hours.
if (!defined($this_user) || !$this_user->IsAdmin()) {
if ($xmlfile =~ /^([-\w\.\/]+)$/) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment