mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Generate auth info automatically
This commit is contained in:
parent
aa56fa3160
commit
6352ed340f
4 changed files with 25 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue