Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37675

Re: Why does my login redirect to draftfile.php rather than Home?

$
0
0
by Kris Stokking.  

Redirects happen because $CFG->wantsurl is set to something on login.  Usually that happens when you set a bookmark to something other than the login page for your site (in your case, a draft file).  If your session has expired, Moodle forwards you to the login page for authentication and then back to the original page you requested.  You will want to check your theme to see if it sets $CFG->wantsurl, but I would guess your problem is unrelated to it.


Viewing all articles
Browse latest Browse all 37675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>