[pmwiki-users] authform for action=attr
a at plus1plus1plus.org
Fri May 2 02:32:16 CDT 2008
thanks for the speedy response.
i found where this is taken care of in pmwiki.php
if i wanted to do the following two things...
- hide 'upload' and 'attr' permission from non-'admin' users
- add a note to the top of that page listing a default site
password for 1st time users
... are those things that i could do from outside pmwiki.php, or that
i would want to try and tweak in the PrintAttrForm function?
... and is there any security risk in fiddling around with these
fields in pmwiki.php?
or maybe i should just hold my horses until attr makes it into a wiki-
On 2 May 2008, at 12:17 AM, Patrick R. Michaud wrote:
> On Fri, May 02, 2008 at 12:08:09AM -0700, adam overton wrote:
>> just one more question for the day. (thanks for putting up with me)
>> i've found AuthForm, which holds the form for users when they Login.
>> where can I change the AuthForm that one is sent to when typing in
>> MyGroup/MyPage?action=attr@@? i thought this would be the same page
>> as Site/AuthForm, but it's not, and i don't see any other files on my
>> system that seem like they hold this form... i'd like to change what
>> the user sees when they go to change their password...
> The ?action=attr page is one of those few remaining areas where
> we don't use a wiki page to describe what appears in the page.
> Instead, it's handled via the $PageAttrFmt variable and the
> PrintAttrForm() function.
> I've done some experiments with converting ?action=attr to use
> a wiki-based form, but haven't committed anything I like yet.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users