Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Following 7bb78e4, it was no longer possible to validate the captcha, because the PHP session is destroyed as part of the logout performed in signup.php. We now retrieve the captcha key from the session before logging out. Fixes #17993
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,6 +171,7 @@ function destroy() { | |
} | ||
|
||
unset( $_SESSION[ $this->key ] ); | ||
session_write_close(); | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters