projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7f21ba
)
Log invalid access attempts.
author
Gunnar Wrobel
<p@rdus.de>
Sun, 10 May 2009 06:18:44 +0000
(08:18 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Sun, 10 May 2009 06:18:44 +0000
(08:18 +0200)
koward/lib/Koward/Controller/Application.php
patch
|
blob
|
history
diff --git
a/koward/lib/Koward/Controller/Application.php
b/koward/lib/Koward/Controller/Application.php
index
0fd97e7
..
8346e9c
100644
(file)
--- a/
koward/lib/Koward/Controller/Application.php
+++ b/
koward/lib/Koward/Controller/Application.php
@@
-91,6
+91,8
@@
class Koward_Controller_Application extends Horde_Controller_Base
if (!$this->koward->hasAccess($id, $permission)) {
$this->koward->notification->push(_("Access denied."), 'horde.error');
+ Horde::logMessage(sprintf('User %s does not have access to action %s!', Auth::getAuth(), $id),
+ __FILE__, __LINE__, PEAR_LOG_NOTICE);
if (Auth::getAuth()) {
$url = $this->urlFor(array('controller' => 'index', 'action' => 'index'));
} else {