Title | How to reset user password? |
Date | 03-Jan-2007 18:56:16 EET |
Version | v2.4.6-beta |
Submitter | 68.82.69.104 |
Bug criticality | LightBug |
Browser version | Firefox |
Bug status | NotABug |
PageProvider used | |
Servlet Container | Tomcat |
Operating System | Server: Linux, Client: Windows |
URL | http://www.jspwiki.org/LostPassword.jsp![]() |
Java version |
StupidQuestion: How to reset a user's password?#
I administer a JSPWiki for my students. Occaisionally, one of them forgets her or his password. The "reset password" link doesn't seem to work---it gives a message "Internal Error: Contact the site administrator, please." Well, that would be me, and I haven't a clue what to do.
Can anyone help?
Some stupid work arounds I've used:
- Creating a new user with a known password, and copying and pasting the encrypted password in the userdatabase.xml
- Just having the student create a whole new user account with a known password, and abandoning the old account.
I'd like to have a more intelligent work around!
Ok, I think I've figured it out... what I needed to do was:
- download, and add the JAR file for the Java Activation Framework into my classpath
- download, and add the JAR file for the JavaMail API into my classpath
- configure the SMTP host in my jspwiki.properties file
- restart the JSPWiki webapp
Now the password resetting facility is working fine.
Still, I think it would be good for there to be an "administrative" way to reset passwords, in case a JSPWiki is running in an environment where sending email is not supported.
Since this isn't a bug, the status has been changed accordingly.
As a side note, a related topic to this is IdeaAdminCreatesUserProfiles.
--David Au, 20-Mar-2007