[Coursework-help] Re: User Registration
Brought to you by:
ianeboston,
john765367
From: Ian B. <ie...@tf...> - 2003-10-24 06:58:04
|
Its quite possible that this is the right thing to do, since the orriginal 2.5 code from stanford would have integrated to their SUID system and not the password mechanism in the Postgres version. I'll get one of the developers to check the imact of this and get it into the CVS version. Ian Leonardo Hernandez wrote: > I'm running v2.5; I'm self registering and not logged in as any other > user (I even restarted tomcat to ensure this) and still don't get the > password field. > > Having a look at UserRegistration.dtl... > [[IF EQUAL $ACTION "changeprofile"]] > <TR><TD BGCOLOR="[[$BGLIGHT]]" VALIGN="TOP"><FONT FACE="arial,helvetica" > SIZE=-1 COLOR="[[$TEXTDARK]]"><B>Contrasena</B></FONT></TD> > <TD><INPUT TYPE=PASSWORD NAME=password VALUE="[[$PERSON.FIRSTNAME > FORMSAFE]]" SIZE=50></FONT></TD></TR> > <TR><TD BGCOLOR="[[$BGLIGHT]]" VALIGN="TOP"><FONT FACE="arial,helvetica" > SIZE=-1 COLOR="[[$TEXTDARK]]"><B>Confirmar Contrasena</B></FONT></TD> > <TD><INPUT TYPE=PASSWORD NAME=confirmpassword VALUE="[[$PERSON.FIRSTNAME > FORMSAFE]]" SIZE=50></FONT></TD></TR> > [[/IF]] > > If I comment the first and the last lines above, then I see the password > field in the user registration form, but I'm not sure about what > functionality could be affected by this change. > > > - Leonardo > > > Ian Boston wrote: > >> If you are self registering , ( and not currently logged in as another >> user ) you should get the password field. But if you are adding a new >> users to a course, then the password will be generated and emailed to >> the user. At which point the user confirms their registration and >> (hopefully) changes their password. >> >> Does that make sense. If you are not logged in and still not seeing >> the password field there is a problem with the UserRegistration dtl. >> (I guess) >> >> I just checked a couple of our 2.1 systems and they appear to behave >> as above. >> >> Ian >> >> Leonardo Hernandez wrote: >> >>> Hi, >>> >>> Something's happening when trying to register a new user. I access >>> /servlet/UserRegistration but I don't see the 'password' field in the >>> page. Password is a required field, so, I cannot register new users. >>> >>> I'm looking at the source to understand how this work, but haven't >>> found any tips yet. >>> >>> - Leonardo >>> >>> >>> >>> >> >> > > > |