Changeset 32165
- Timestamp:
- 01/07/15 14:50:48 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/adjust.h
r32134 r32165 249 249 changeinput(community_user, getconfig("community_user", NULL)); 250 250 251 changemask(community_pass, "abcdefghijklmnopqrstuvwxyz"); 252 changeinput(community_pass, getconfig("community_pass", NULL)); 251 // changemask(community_pass, "abcdefghijklmnopqrstuvwxyz"); 252 // changeinput(community_pass, getconfig("community_pass", NULL)); 253 changemask(community_pass, "****"); 254 changeinput(community_pass, "****"); 253 255 254 256 #ifdef MIPSEL … … 417 419 418 420 addconfigscreen("community_user", community_user); 419 addconfigscreen("community_pass", community_pass); 421 // hid pass text and convert to md5sum 422 if(community_pass->ret != NULL && ostrcmp(community_pass->ret, "****") != 0) 423 { 424 debug(10, "community_pass: write"); 425 if(strlen(community_pass->ret) != 32) 426 { 427 debug(10, "community_pass: convert to md5"); 428 community_pass->ret = ostrcat(MDString(community_pass->ret), NULL, 1, 0); 429 } 430 addconfigscreen("community_pass", community_pass); 431 } 432 else 433 debug(10, "community_pass: skipped"); 420 434 421 435 writeallconfig(1);
Note: See TracChangeset
for help on using the changeset viewer.