0012-Correctly-pass-time-option-on-login.patch
| src/cli/one_helper/oneuser_helper.rb | ||
|---|---|---|
| 148 | 148 | |
| 149 | 149 |
options[:time] ||= 3600 |
| 150 | 150 | |
| 151 |
auth.login(username, Time.now+options[:time])
|
|
| 151 |
auth.login(username, options[:time]) |
|
| 152 | 152 | |
| 153 | 153 |
return 0, 'export ONE_AUTH=' << auth.class::LOGIN_PATH |
| 154 | 154 |
end |
| 155 |
- |
|