mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
improve comment
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@197 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
d58d152ea7
commit
54f230f841
@ -161,7 +161,7 @@ function plugin_init_example() {
|
|||||||
|
|
||||||
$PLUGIN_HOOKS['post_init']['example'] = 'plugin_example_postinit';
|
$PLUGIN_HOOKS['post_init']['example'] = 'plugin_example_postinit';
|
||||||
|
|
||||||
// CSRF compliance
|
// CSRF compliance : All actions must be done via POST and forms closed by Html::closeForm();
|
||||||
$PLUGIN_HOOKS['csrf_compliant']['example'] = true;
|
$PLUGIN_HOOKS['csrf_compliant']['example'] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user