1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #754: Default for expiration time

This commit is contained in:
Ruben S. Montero 2011-08-26 01:15:08 +02:00
parent 2534cea8ae
commit 3409f9d6b4

View File

@ -125,6 +125,8 @@ class OneUserHelper < OpenNebulaHelper::OneHelper
else
return -1, "You have to specify an Auth method"
end
options[:time] ||= 3600
auth.login(username, options[:time])