Generate auth info automatically

This commit is contained in:
Martin Lensment 2014-09-04 10:26:01 +03:00
parent aa56fa3160
commit 6352ed340f
4 changed files with 25 additions and 7 deletions

View file

@ -99,8 +99,7 @@ module Epp::DomainsHelper
period: (@ph[:period].to_i == 0) ? 1 : @ph[:period].to_i,
period_unit: Domain.parse_period_unit_from_frame(parsed_frame) || 'y',
valid_from: Date.today,
valid_to: valid_to,
auth_info: @ph[:authInfo][:pw]
valid_to: valid_to
}
end