Clear the master password on ACP logout
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 28 Jan 2021 08:33:28 +0000 (09:33 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Jan 2021 08:33:28 +0000 (09:33 +0100)
wcfsetup/install/files/lib/acp/action/LogoutAction.class.php

index 50afa676ae5a6bb6042df2b84d635de617ff962e..c024a2176bd6ef391ac0be6c1be1a9b601105e79 100755 (executable)
@@ -30,6 +30,7 @@ class LogoutAction extends AbstractSecureAction
         parent::execute();
 
         WCF::getSession()->clearReauthentication();
+       WCF::getSession()->unregister('masterPassword');
 
         $this->executed();