MantisBT: master 65ebd29f

Author Committer Branch Timestamp Parent
dregad dregad master 2021-03-05 13:44 master 7d532d6f
Affected Issues  0028002: New API function to get User Id by cookie string
Changeset

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 0028002

mod - core/authentication_api.php Diff File
mod - core/user_api.php Diff File