[ewiki] ewiki_auth call in ewiki_eventually_initialize()
- From: Andy Fundinger <andy@xxxxxxxxxxx>
- To: "'ewiki@xxxxxxxxxxxxx'" <ewiki@xxxxxxxxxxxxx>
- Date: Tue, 16 Dec 2003 17:40:54 -0500
Adding:
#-- require auth
if (EWIKI_PROTECTED_MODE) {
if (!ewiki_auth($id, $data, 'initialize', $ring=0, $request_auth=0)) {
return;
}
}
in ewiki_eventually_initialize() inside the first if (line 2648 in CVS
1.105) will add authentication and prevent accidental initialization. I'm
not sure quite how to remove the explicit ring, but perhaps it is ok for
this kind of admin call?
Andy
Other related posts:
- » [ewiki] ewiki_auth call in ewiki_eventually_initialize()