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:
parent
2534cea8ae
commit
3409f9d6b4
@ -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])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user