Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Why does this happen?


Reply


2 Posts   1084 Views

Avatar
TerryMiddleton

Community Member, 108 Posts

15 May 2009 at 1:02am

I login using an Admin account and then go to a restricted page. I then logout and go to the home page and try to login using a normal (non Admin) account. The website takes me to the restricted page and doesn't let me login and wants to 'make me' login to the restricted page.

Why does this happen? I can't figure it out.

Terry

Avatar
Fuzz10

Community Member, 787 Posts

15 May 2009 at 7:34am

Silverstripe probably stores the "last-visited" page (to redirect users to the correct protected page after the login procedure) somewhere, and it thinks you want to go to the protected page instead of the /admin.

You can call /admin after being logged in , right?