Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CentralNic
pepper
Commits
2d0bed82
Unverified
Commit
2d0bed82
authored
Nov 22, 2017
by
Gavin Brown
Browse files
make authinfo work
parent
b0ddad81
Changes
1
Hide whitespace changes
Inline
Side-by-side
pepper
View file @
2d0bed82
...
...
@@ -990,7 +990,7 @@ sub create_contact {
}
elsif
($
name
=~
/^(
city
|
sp
|
pc
|
cc
)$/)
{
$
postalInfo
->{
'addr'
}->{$
name
}
=
$
value
;
}
elsif
($
name
=~
/^(
id
|
voice
|
fax
|
email
)$/)
{
}
elsif
($
name
=~
/^(
id
|
voice
|
fax
|
email
|
authinfo
)$/)
{
$
contact
->{$
name
}
=
$
value
;
}
else
{
...
...
@@ -1001,7 +1001,7 @@ sub create_contact {
$
contact
->{
'postalInfo'
}->{$
type
}
=
$
postalInfo
;
$
contact
->{
'id'
}
=
generate_contact_id
()
if
(
length
($
contact
->{
'id'
})
<
1
);
$
contact
->{
'authInfo'
}
=
generate_authinfo
()
if
(
length
($
contact
->{
'auth
I
nfo'
})
<
1
);
$
contact
->{
'authInfo'
}
=
generate_authinfo
()
if
(
length
($
contact
->{
'auth
i
nfo'
})
<
1
);
return
$
epp
->
create_contact
($
contact
);
}
...
...
@@ -1500,7 +1500,7 @@ This command creates a contact object according to the parameters specified. C<P
=
item
C
<
email
>
-
email
address
=
item
C
<
auth
I
nfo
>
-
authInfo
code
.
A
random
string
will
be
used
if
not
provided
.
=
item
C
<
auth
i
nfo
>
-
authInfo
code
.
A
random
string
will
be
used
if
not
provided
.
=
back
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment