comparison multipass-add.go @ 1:faf4aad86fc9

Make checkpassword work; fix minor bug in add.
author Paul Fisher <paul@pfish.zone>
date Sat, 24 Oct 2015 21:48:38 -0400
parents c18bc7b9d1d9
children a4fa4f28b472
comparison
equal deleted inserted replaced
0:c18bc7b9d1d9 1:faf4aad86fc9
18 text, err := reader.ReadString('\n') 18 text, err := reader.ReadString('\n')
19 if err != nil { 19 if err != nil {
20 fmt.Println(err.Error()) 20 fmt.Println(err.Error())
21 return 21 return
22 } 22 }
23 text = text[:-1]
23 entry, password, err := auth.NewEntry(text) 24 entry, password, err := auth.NewEntry(text)
24 if err != nil { 25 if err != nil {
25 fmt.Println(err.Error()) 26 fmt.Println(err.Error())
26 return 27 return
27 } 28 }