mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
bug #1921: ssh and x509 login never expires
Patch by Jean-Philippe Garcia Ballester
This commit is contained in:
1 parent
c0adc81af6
commit
3303fef510
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user