Move registration code to a separate unit
commit3dbaee80b4fcc99cd236f76e60a1572377946123
authorLukas Fleischer <lfleischer@archlinux.org>
Thu, 25 Jun 2015 13:46:39 +0000 (25 15:46 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Sat, 27 Jun 2015 11:04:03 +0000 (27 13:04 +0200)
treef3869fdb4a3774b57f7a1fa817964a8e6d74ef31
parent6395a5d5b86ce4aca75a4eb246db77cd08ae0ffc
Move registration code to a separate unit

Until now, we used the same unit to register and edit accounts. Split
these features into separate source files for clarity. This also allows
us to redirect to the home page when a logged-in user tries to access
the registration page.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/html/account.php
web/html/register.php [new file with mode: 0644]
web/lib/routing.inc.php