reverting string "general purpose password" braindamage

This commit is contained in:
cinap_lenrek 2012-11-27 22:07:34 +01:00
parent 7e0c920fe3
commit 539f74db81
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ main(int argc, char *argv[])
t = getexpiration(f->keys, u);
install(f->keys, u, key, t, newkey);
if(dosecret && setsecret(KEYDB, u, p9pass) == 0)
error("error writing Inferno/POP secret");
error("error writing Inferno/pop secret");
newbio = querybio(f->who, u, &a);
if(newbio)
wrbio(f->who, &a);

View file

@ -105,10 +105,10 @@ main(int argc, char **argv)
continue;
}
}
readln("Change general-purpose password?\n(for Inferno, POP, VNC, Telnet and others) (y/n) ", buf, sizeof buf, 0);
readln("change Inferno/POP password? (y/n) ", buf, sizeof buf, 0);
if(*buf == 'y' || *buf == 'Y'){
pr.changesecret = 1;
readln("Make it the same as your plan 9 password? (y/n) ",
readln("make it the same as your plan 9 password? (y/n) ",
buf, sizeof buf, 0);
if(*buf == 'y' || *buf == 'Y'){
if(*pr.new == 0)