Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New API function to get User Id by cookie string
By calling user_get_id_by_cookie(), we avoid code duplication in authentication API, replacing 4 specific SQL statements against the user table. Fixes #28002
- Loading branch information
Showing
2 changed files
with
41 additions
and
39 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