-
2007-01-30
gamma
Doing a direct login, without visiting a page before (via www.blubs.org/bla?do=login), and being then redirected to the page bla seams not to create a breadcrumb.
-
2007-05-14
gb
I can reproduce this with the devel revision: once I'm logged in and the page shows, the breadcrumbs gets updated with the page name, but this page name disappears if I go to the home page or any other page in the wiki. Breadcrumbs array is updated when the show action is called on an existing page, so maybe a good fix would be to call 'show' after login was successful.
-
2007-05-15
gb
show action is already called when login is successful :-) that's the way the page displays after login.
-
2007-05-15
gb
Two more points:
- once you've successfully logged in, the bc array in the session doesn't get populated with the name of the page from which you did the login, though the page name is displayed in the "trace:" of the page
- once you've successfully logged in, the URL displayed in the browser is <yourserver>/<dokudir>/doku.php, there is no id/pagename
If you do this:
hunk ./inc/actions.php 310
- if($_SERVER['REMOTE_USER'] && $act=='login')
+ if($_SERVER['REMOTE_USER'] && $act=='login'){
+ header("Location: ".wl($ID,'',true));
return 'show';
+ }
then the URL is ok and the bc array gets populated properly after a login from a page accessed directly.
-
2007-05-18
gb
Patch pushed to Andi.
-
2008-02-15
gb
inc/actions.php of the current devel:
...
315 //already logged in?
316 if($_SERVER['REMOTE_USER'] && $act=='login'){
317 header("Location: ".wl($ID,'',true));
318 exit;
319 }
I think the change is applied so this issue can be closed.