21489 Posts in 5783 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1624 Views |
-
Login form missing absolute path

21 January 2010 at 10:06pm
On a new installation of silverstripe 2.4alpha, the admin login was working with the default tutorial theme, but is not working with a custom theme.
The link in the login form is missing an absolute path slash, so the form action is set to "Security/Login"...
This means users cannot log in, because instead of going to /Security/Login, it tries to load Security/Security/Login which doesn't exist.
I'm not sure what the best way to fix this is...
-
Re: Login form missing absolute path

22 January 2010 at 3:35am
Do you have a <% base_tag %> in the head section of your custom theme? This is required for paths to work correctly.
-
Re: Login form missing absolute path

22 January 2010 at 6:35am
That is exactly what is missing. Thanks AJ...
I’ll keep that in mind when building new themes.
| 1624 Views | ||
|
Page:
1
|
Go to Top |


