FrontEndUsers must login twice before getting main page
Posted: Sat Aug 15, 2009 12:39 am
CMSMS 1.6.3
Banners 2.2.1
CustomContent 1.5.3
FrontEndUsers 1.6.9
Users go to URL and get login prompt -> enter correct information -> submit and get login prompt -> enter correct information -> submit and go to proper default page.
template piece:
{if $ccuser->ipmatches('IP,IPrange1,IPs...')}
{content}
{elseif $ccuser->loggedin()}
{cms_module module='FrontEndUsers' form='silent'}
{content}
{else}
Please login to view this page
{cms_module module='FrontEndUsers'}
{/if}
If user is in proper IP range or single IP they get in without issue. Incorrect login information works correctly as well.
Users are always prompted twice for login information. There is not any FEU on page options. The template is the only place FEU and content are called out.
UPDATE:
I have zero cache-able pages.
Do not understand calguy: The 2 content tags are inside an if/elseif/else. Is there an issue with CMSMS logic that we all should be made aware of?
I have downloaded and read the documentation you provided on your website. Unfortunately I did not find anything that would change my approach for this site. Anyone intending to use FEU should read the doc.
Banners 2.2.1
CustomContent 1.5.3
FrontEndUsers 1.6.9
Users go to URL and get login prompt -> enter correct information -> submit and get login prompt -> enter correct information -> submit and go to proper default page.
template piece:
{if $ccuser->ipmatches('IP,IPrange1,IPs...')}
{content}
{elseif $ccuser->loggedin()}
{cms_module module='FrontEndUsers' form='silent'}
{content}
{else}
Please login to view this page
{cms_module module='FrontEndUsers'}
{/if}
If user is in proper IP range or single IP they get in without issue. Incorrect login information works correctly as well.
Users are always prompted twice for login information. There is not any FEU on page options. The template is the only place FEU and content are called out.
UPDATE:
I have zero cache-able pages.
Do not understand calguy: The 2 content tags are inside an if/elseif/else. Is there an issue with CMSMS logic that we all should be made aware of?
I have downloaded and read the documentation you provided on your website. Unfortunately I did not find anything that would change my approach for this site. Anyone intending to use FEU should read the doc.