mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
added some acl check into change password
This commit is contained in:
parent
c92d4c5e11
commit
22511e1420
@ -17,6 +17,11 @@
|
|||||||
$phpgw_info["flags"]["currentapp"] = "preferences";
|
$phpgw_info["flags"]["currentapp"] = "preferences";
|
||||||
include("../header.inc.php");
|
include("../header.inc.php");
|
||||||
|
|
||||||
|
if (!$phpgw->acl->check("changepassword", 1)){
|
||||||
|
Header("Location: index.php");
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
if (! $submit) {
|
if (! $submit) {
|
||||||
$phpgw->common->phpgw_header();
|
$phpgw->common->phpgw_header();
|
||||||
$phpgw->common->navbar();
|
$phpgw->common->navbar();
|
||||||
|
Loading…
Reference in New Issue
Block a user