mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
d6f89f97c0
commit
e84eb4ae54
3 changed files with 11 additions and 44 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue