aurweb/web/template
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
..
stats Change rss2.php references to rss.php 2009-09-28 16:23:35 -04:00
actions_form.php Move package comment form into a new template. 2009-01-25 13:17:54 -05:00
footer.php Bring version footer in with the rest of the site body. 2009-01-23 15:05:46 -05:00
header.php Change rss2.php references to rss.php 2009-09-28 16:23:35 -04:00
login_form.php Implement 'Password Reset' facility (FS#3061) 2009-11-13 16:49:55 -05:00
pkg_comment_form.php Move package comment form into a new template. 2009-01-25 13:17:54 -05:00
pkg_comments.php Don't hit the database twice per comment on package 2009-04-13 10:07:46 -04:00
pkg_details.php pkg_details: Translate special characters to html entities in package description. 2009-10-26 12:50:13 -04:00
pkg_search_form.php Remove Location from package search. 2009-08-24 07:34:05 -04:00
pkg_search_results.php pkg_search_results: Translate special characters to html entities. 2009-10-26 12:54:31 -04:00
search_accounts_form.php fixed indention + xhtml in search_accounts_form.php 2008-06-09 20:04:59 +08:00
template.phps Use new conglomerated translation files. 2009-01-19 16:29:45 -05:00
tu_details.php Change layout of tu_details. 2009-02-13 15:31:05 -05:00
tu_list.php Change layout of tu_details. 2009-02-13 15:31:05 -05:00