[support] Trying to access/edit "user/login" form as Admin, but locked out: "You are not authorized to access this page."

Earnie Boyd earnie at users.sourceforge.net
Wed Jun 2 16:15:08 UTC 2010


Ben DJ wrote:
> I've installed module(formdefaults).
>
> Formdefaults' instructions say: "Navigate to the form you wish to modify ..."
>
> Once logged in as Admin, works nicely on any/all forms, except ...
>
> I'd like to edit my "user/login" form using it.
>
> @ nav to "user/login",&  I get:
>
>             "You are not authorized to access this page."
>
> How can I be "not authorized" ?   I'm Admin ...
>

Because only unauthenticated users are authorized to access the login form.

> Any help with this Catch22?  How do I access/edit the "user/login" form?
>

You have to use a hook_form_alter, it isn't node content that you can edit.

-- 
Earnie
-- http://progw.com
-- http://www.for-my-kids.com


More information about the support mailing list