Shorten validity of remote video token

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@9580 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso
2011-05-12 14:04:47 +00:00
parent a0c6ac79c1
commit 0254709d2e
+1 -1
View File
@@ -679,7 +679,7 @@ sub getcons {
my ($graphicsnode) = $parseddom->findnodes("//graphics");
my $tpasswd=genpassword(16);
my $validto=POSIX::strftime("%Y-%m-%dT%H:%M:%S",gmtime(time()+300));
my $validto=POSIX::strftime("%Y-%m-%dT%H:%M:%S",gmtime(time()+60));
$graphicsnode->setAttribute("passwd",$tpasswd);
$graphicsnode->setAttribute("passwdValidTo",$validto);
$dom->update_device($graphicsnode->toString());