summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-09-15 16:22:50 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-09-18 00:59:45 +0200
commite84eb4ae54ceaa329d154bcac214be281e71ba0a (patch)
treee771ae05de8af388b170d251698fc93380fc6515 /web/html/index.php
parentd6f89f97c08d7eeb805246dc94a835057d53243d (diff)
downloadaur-e84eb4ae54ceaa329d154bcac214be281e71ba0a.tar.gz
aur-e84eb4ae54ceaa329d154bcac214be281e71ba0a.tar.xz
Overhaul ability to edit own account
* Restructure account.php to remove redundant code. * Remove own_account_details(). * Rework logic check to default to no access to account edit form. * Make default account action viewing account info. Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 0e368834..70698a44 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -60,8 +60,9 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
} else {
$_REQUEST['Action'] = "AccountInfo";
}
+ } else {
+ $_REQUEST['Action'] = "AccountInfo";
}
-
}
include get_route('/' . $tokens[1]);
} elseif (get_route($path) !== NULL) {