Changeset 608
- Timestamp:
- 07/23/05 16:00:39 (3 years ago)
- Files:
-
- trunk/src/register.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/register.c
r595 r608 88 88 field=form_add_field(form,"list-single","action",_("Action"),"options",1); 89 89 form_add_option(field,_("Change account options"),"options"); 90 form_add_option(field,_("Change password"),"passwd");90 /*form_add_option(field,_("Change password"),"passwd"); */ 91 91 form_add_option(field,_("Change public directory information"),"pubdir"); 92 92 form_add_option(field,_("Unregister"),"unregister"); … … 167 167 } 168 168 169 #if 0 170 /* Password change dissabled, as it would be hard to support token-based password change */ 169 171 int register_process_passwd_form(Stream *s,const char *from,const char *to, 170 172 const char *id,User *u,xmlnode form){ … … 229 231 return 0; 230 232 } 233 #endif 234 231 235 232 236 #define FIELD_TO_PUBDIR(fieldname,symbol) \ … … 319 323 return -1; 320 324 } 325 #if 0 321 326 else if (!strcmp(action,"passwd")){ 322 327 if (register_process_passwd_form(s,from,to,id,u,form)) 323 328 return -1; 324 329 } 330 #endif 325 331 else if (!strcmp(action,"pubdir")){ 326 332 if (register_process_pubdir_form(s,from,to,id,u,form,q))
