diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-25 15:46:39 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-27 13:04:03 +0200 |
commit | 3dbaee80b4fcc99cd236f76e60a1572377946123 (patch) | |
tree | f3869fdb4a3774b57f7a1fa817964a8e6d74ef31 /web/lib/routing.inc.php | |
parent | 6395a5d5b86ce4aca75a4eb246db77cd08ae0ffc (diff) | |
download | aurweb-3dbaee80b4fcc99cd236f76e60a1572377946123.tar.xz |
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>
Diffstat (limited to 'web/lib/routing.inc.php')
-rw-r--r-- | web/lib/routing.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/routing.inc.php b/web/lib/routing.inc.php index 74ab816..8c45c62 100644 --- a/web/lib/routing.inc.php +++ b/web/lib/routing.inc.php @@ -8,7 +8,7 @@ $ROUTES = array( '/packages' => 'packages.php', '/pkgbase' => 'pkgbase.php', '/requests' => 'pkgreq.php', - '/register' => 'account.php', + '/register' => 'register.php', '/account' => 'account.php', '/accounts' => 'account.php', '/login' => 'login.php', |