-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always use phpseclib for cookie encryption
- it provides fallback in case mcrypt is not found - we now use AES in both mcrypt and PHP code case - cleanup the code by removing mcrypt conditials - rename some methods and cookies so that they don't refer to implementation details - switching encryption implementations no longer invalidates the credentials Signed-off-by: Michal Čihař <michal@cihar.com>
- Loading branch information
Showing
2 changed files
with
59 additions
and
108 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
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