Skip to content

Commit

Permalink
update uuid API
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-name committed May 28, 2018
1 parent 2926270 commit 6231069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acmetxt.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ func (a ACMETxt) allowedFromList(ips []string) bool {
func newACMETxt() ACMETxt {
var a = ACMETxt{}
password := generatePassword(40)
a.Username = uuid.NewV4()
a.Username = uuid.Must(uuid.NewV4())
a.Password = password
a.Subdomain = uuid.NewV4().String()
a.Subdomain = uuid.Must(uuid.NewV4()).String()
return a
}

0 comments on commit 6231069

Please sign in to comment.