rejetto forum

see bad pass/username

Lebjo · 33 · 25074

0 Members and 1 Guest are viewing this topic.

Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
this code
Code: [Select]
[+unauthorized]
{.append|/A Location You Choose/Spl-Log.txt|Bad_Login: %date% %time% %ip% {.if|%user%|%user%|0.} %password%
.}

must be put in the template, not events file.
so the best way is to right click on the root/home > properties > diff template
I have this in hfs.events as well as the first I posted, and it works in 260 here? So this should be in tpl?


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2059
    • View Profile
I have this in hfs.events as well as the first I posted, and it works in 260 here? So this should be in tpl?

refer you to http://www.rejetto.com/wiki/index.php?title=HFS:_Template

Both have to work ;)

Code: [Select]
    runEventScript('unauthorized');
    getPage('unauthorized', data);

Quote
Network events

unauthorized
this user has no permission to access the requested resource.

Sections List
[unauthorized]
HTML for the %content% symbol


in tpl, section [unauthorized]  is evaluated so often as the variable %content% appear in the section [error-page]

Code: [Select]
if data.conn.reply.mode <> HRM_REPLY then
    s:=xtpl(tpl2use['error-page'], ['%content%', s]);
« Last Edit: May 10, 2010, 08:04:49 PM by Mars »


Offline r][m

  • Tireless poster
  • ****
    • Posts: 347
    • View Profile
Thanks Mars,
I moved these to tpl and I think it works better !