Re: User can't change a password

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43943
interpreted = N
texte = I named the field in my db pass not password to avoid the reserved words situation way back in the beginning of the project..Naming the field in the update form to __password did the trick. At 11:05 AM 10/1/02, you wrote: >Lester Emo wrote: > > > I have a register/login setup for a messageboard. > > I'm using Webcat's internal authentication. > > > > A user is able to create an account, with their profile information. > > > > When they login and try to change their profile information, everything > > except the password is changeable. > > > > Is there something with using Webcats internal authentication and browser > > based username/password that's preventing the changing of a password after > > one is created?? > > > > This is on my profile_edit.tpl page > > > > [Search db=members.db&eqUserData=[username]] > > [FoundItems] > > > > Password: > > > >here you are using password as the value being passed. is password a >field name >in the members.db or is pass what you are looking for? FYI, if it is >password >then this is one of those don't do that sort of things (using webCat >reserved words >as a var or field name that is). > > > > > [replace > > > db=members.db&eqUniqueIDdata=[UniqueID]]&pass=[url][encrypt][uppercase][password][/uppercase][/encrypt][/url]&email=[url][uppercase][email][/uppercase][/url]&secretword=[secretword][/replace] > >Here you are putting the password in a fieldname called pass and you >are assigning whatever value the user is logged in as... [password] > >instead pass a var called __pass with a value of [pass] ie: > >Password: > > >(this is the password from the members.db) > >then in your replace do this: > >[replace >db=members.db&eqUniqueIDdata=[UniqueID]]&pass=[url][encrypt][uppercase][__pass][/uppercase][/encrypt][/url]&email=[url][uppercase][email][/uppercase][/url]&secretword=[secretword][/replace] > >cheers, >Donovan > > > > > > > I can change everything except the password. > > I don't even see the changed password being written into the database, the > > old one stats as is. > > > > > >-- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > ><><> Donovan Brooke <><>->ï > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: User can't change a password (Lester Emo 2002)
  2. Re: User can't change a password (Donovan 2002)
  3. Re: User can't change a password (Lester Emo 2002)
  4. Re: User can't change a password (Jesse Williams-Proudman 2002)
I named the field in my db pass not password to avoid the reserved words situation way back in the beginning of the project..Naming the field in the update form to __password did the trick. At 11:05 AM 10/1/02, you wrote: >Lester Emo wrote: > > > I have a register/login setup for a messageboard. > > I'm using Webcat's internal authentication. > > > > A user is able to create an account, with their profile information. > > > > When they login and try to change their profile information, everything > > except the password is changeable. > > > > Is there something with using Webcats internal authentication and browser > > based username/password that's preventing the changing of a password after > > one is created?? > > > > This is on my profile_edit.tpl page > > > > [Search db=members.db&eqUserData=[username]] > > [founditems] > > > > Password: > > [password]> > >here you are using password as the value being passed. is password a >field name >in the members.db or is pass what you are looking for? FYI, if it is >password >then this is one of those don't do that sort of things (using webCat >reserved words >as a var or field name that is). > > > > > [replace > > > db=members.db&eqUniqueIDdata=[UniqueID]]&pass=[url][encrypt][uppercase][password][/uppercase][/encrypt][/url]&email=[url][uppercase][email][/uppercase][/url]&secretword=[secretword][/replace] > >Here you are putting the password in a fieldname called pass and you >are assigning whatever value the user is logged in as... [password] > >instead pass a var called __pass with a value of [pass] ie: > >Password: > > >(this is the password from the members.db) > >then in your replace do this: > >[replace >db=members.db&eqUniqueIDdata=[UniqueID]]&pass=[url][encrypt][uppercase][__pass][/uppercase][/encrypt][/url]&email=[url][uppercase][email][/uppercase][/url]&secretword=[secretword][/replace] > >cheers, >Donovan > > > > > > > I can change everything except the password. > > I don't even see the changed password being written into the database, the > > old one stats as is. > > > > > >-- > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > ><><> Donovan Brooke <><>->ï > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Lester Emo

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

creator code (1997) Caching pages...again (2001) TCPConnect/Send problem (2001) searchable list archive (1997) WebCatalog2 Feature Feedback (1996) WebCat2b15MacPlugin - showing [math] (1997) UPDATE PROBLEM (1997) test (2003) calculating tax rates, mail order solutions and version 2 (1997) [item] appears after 'remove last item' ... (1997) MATH (1998) Nesting format tags (1997) Bug or syntax error on my part? (1997) Searching an Email database (1997) creating an email message (1998) Secure server question (1997) Re:Searching for ALL / empty form field (1997) insecuretextvars preference doesn't work (2000) random images (1997) Online Docs? (1997)