[development] deny user #1

Gerhard Killesreiter gerhard at killesreiter.de
Wed Sep 13 12:53:40 UTC 2006

Augustin (Beginner) wrote:
> On Wednesday 13 September 2006 08:24 pm, Gerhard Killesreiter wrote:
>> A brute force method is to unset the form and redirect elsewhere in
>> hook_form_alter if you are processing your node form and uid == 1.
> thanks Gerhard,
> I'll try that.

You'll also need to exit() after the redirect or the form would still be 
generated, IIRC.


More information about the development mailing list