Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make delayed redirect (login/logout) optional #1380

Closed
wants to merge 2 commits into from
Closed

Make delayed redirect (login/logout) optional #1380

wants to merge 2 commits into from

Conversation

SoftCreatR
Copy link
Contributor

Many people requesting this feature and there has also been a plugin for WCF1 to do this. This should be included in the default installation.

Many people requested this feature and there has also been a plugin for
WCF1 to do this. This should be included in the default installation.
@@ -37,7 +37,12 @@ public function execute() {
$this->executed();

// forward to index page
HeaderUtil::delayedRedirect(LinkHandler::getInstance()->getLink(), WCF::getLanguage()->get('wcf.user.logout.redirect'));
if (defined('LOGIN_LOGOUT_REDIRECT') && LOGIN_LOGOUT_REDIRECT) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defined('LOGIN_LOGOUT_REDIRECT') is not necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know. Force of habit ;)

@dtdesign dtdesign closed this Jul 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants