bug #1921: ssh and x509 login never expires

Patch by Jean-Philippe Garcia Ballester
This commit is contained in:
Javi Fontan committed 2013-04-24 18:09:05 +02:00
1 parent c0adc81af6
commit 3303fef510
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ class OneUserHelper < OpenNebulaHelper::OneHelper
options[:time] ||= 3600
auth.login(username, Time.now+options[:time])
auth.login(username, options[:time])
return 0, 'export ONE_AUTH=' << auth.class::LOGIN_PATH
end