Changeset 608

Show
Ignore:
Timestamp:
07/23/05 16:00:39 (3 years ago)
Author:
jajcus
Message:

- password change is not available any more

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/register.c

    r595 r608  
    8888        field=form_add_field(form,"list-single","action",_("Action"),"options",1); 
    8989        form_add_option(field,_("Change account options"),"options"); 
    90         form_add_option(field,_("Change password"),"passwd"); 
     90        /*form_add_option(field,_("Change password"),"passwd"); */ 
    9191        form_add_option(field,_("Change public directory information"),"pubdir"); 
    9292        form_add_option(field,_("Unregister"),"unregister"); 
     
    167167} 
    168168 
     169#if 0  
     170/* Password change dissabled, as it would be hard to support token-based password change */ 
    169171int register_process_passwd_form(Stream *s,const char *from,const char *to, 
    170172                                        const char *id,User *u,xmlnode form){ 
     
    229231        return 0; 
    230232} 
     233#endif 
     234 
    231235 
    232236#define FIELD_TO_PUBDIR(fieldname,symbol) \ 
     
    319323                        return -1; 
    320324        } 
     325#if 0 
    321326        else if (!strcmp(action,"passwd")){ 
    322327                if (register_process_passwd_form(s,from,to,id,u,form)) 
    323328                        return -1; 
    324329        } 
     330#endif 
    325331        else if (!strcmp(action,"pubdir")){ 
    326332                if (register_process_pubdir_form(s,from,to,id,u,form,q))