projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX petites corrections à deux balles
[euphorik.git]
/
modules
/
include
/
euphorik_defines.hrl
diff --git
a/modules/include/euphorik_defines.hrl
b/modules/include/euphorik_defines.hrl
index
2e0c48b
..
2e2ba7c
100755
(executable)
--- a/
modules/include/euphorik_defines.hrl
+++ b/
modules/include/euphorik_defines.hrl
@@
-14,7
+14,10
@@
%
\r
% You should have received a copy of the GNU General Public License
\r
% along with Euphorik. If not, see <http://www.gnu.org/licenses/>.
\r
%
\r
% You should have received a copy of the GNU General Public License
\r
% along with Euphorik. If not, see <http://www.gnu.org/licenses/>.
\r
-
+
\r
+% Le temps d'attente après une erreur de login (mauvais login/pass) : une demie seconde
\r
+% Permet d'éviter (limiter) les attaques par dictionnaire
\r
+-define(TEMPS_ATTENTE_ERREUR_LOGIN, 500). % ms
% Un message est considéré comme du spam s'il est posté 1 seconde ou moins après le dernier posté
-define(DUREE_SPAM, 1000). % ms
% Un message est considéré comme du spam s'il est posté 1 seconde ou moins après le dernier posté
-define(DUREE_SPAM, 1000). % ms