|
[dokuwiki]
||
[Date Prev]
[04-2006 Date Index]
[Date Next]
||
[Thread Prev]
[04-2006 Thread Index]
[Thread Next]
[dokuwiki] Re: How to force login
- From: Oliver Geisen <oliver.geisen@xxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 6 Apr 2006 17:00:56 +0200
Hello,
What happens if you turn off the READ privilege for group ALL?
That what's expected: I get an "access denied".
That is not what i wanted.
I did a small modification in inc/template.php, I replaced :
case 'denied':
print p_locale_xhtml('denied');
by :
case 'denied':
html_login();
Perhaps something cleaner would test a new option.
Would a cleaner way be modifying the template?
It depends... if i thought of it as an site-wide functionality it
rather should be an option in the local.php.
my current template.php contains:
case 'denied':
print p_locale_xhtml('denied');
if(! $_SERVER['REMOTE_USER']) {
html_login();
}
I'm not shure about the login-check. What is best choice to determine
if user has truly authenticated ?
Byebye,
Oliver Geisen
_____________________________
Systemadministrator
Kreisboten Verlag Mühlfellner KG
82362 Weilheim i. Ob.
Tel. 0881/686-904
Fax 0881/686-74
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|