aurweb/web/html
Evangelos Foutras 861cbf4935 Implement 'Password Reset' facility (FS#3061)
This works by adding a new field to the 'Users' table called 'ResetKey',
which is a 32 characters long, random string. When the user requests a
password reset, a new 'reset key' is generated and sent to the user's
e-mail address in the form of a link in the following format:

  http://aur.archlinux.org/passreset.php?resetkey=<reset key>

When the above link is followed, the user is presented with a form to
verify his/her e-mail address and specify the new desired password. If
the e-mail address matches the reset key in the database, the new
password is assigned to the account. If there is an error, a relevant
message is displayed and the user is prompted to re-enter the required
information. Upon successful completion of this procedure, the ResetKey
field in the database is blanked and the specific key cannot be reused.

One SQL query is needed to add the ResetKey field to the 'Users' table:

  ALTER TABLE `Users` ADD `ResetKey` CHAR(32) NOT NULL DEFAULT '';

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-11-13 16:49:55 -05:00
..
css Revamp markup and styles for comments. 2009-02-18 23:01:25 -05:00
images Remove obsolete padding images. 2009-01-24 01:23:35 -05:00
account.php Use include_once where applicable 2009-08-11 13:58:12 -04:00
addvote.php Use include_once where applicable 2009-08-11 13:58:12 -04:00
index.php Use include_once where applicable 2009-08-11 13:58:12 -04:00
logout.php Use include_once where applicable 2009-08-11 13:58:12 -04:00
packages.php Use include_once where applicable 2009-08-11 13:58:12 -04:00
passreset.php Implement 'Password Reset' facility (FS#3061) 2009-11-13 16:49:55 -05:00
pkgedit.php Fix a missing exit() call in pkgedit.php 2009-11-09 14:09:11 -05:00
pkgsubmit.php pkgsubmit: Instruct users how to make source packages. 2009-11-09 18:53:34 -05:00
rpc.php Add usage output info for maintainer search extension 2009-09-28 18:55:50 -04:00
rss.php Change rss2.php references to rss.php 2009-09-28 16:23:35 -04:00
tu.php Untranslate TU vote fields so they're properly saved in the database. 2009-10-26 17:28:07 -04:00
voters.php Add voter list on packages for TUs and devs. 2009-07-19 23:20:36 -04:00