Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] Fixing timezone and language parameter in API token auth response #43351

Merged
merged 8 commits into from
Aug 13, 2024

Conversation

Hackwar
Copy link
Member

@Hackwar Hackwar commented Apr 24, 2024

Summary of Changes

In the token API authentication plugin we are constructing a response with the timezone and language from the user object. However, that data is stored in the params and to get that, you have to call getParam() and not just get(). The later is the ->get from CMSObject and doesn't return anything in this instance.

Testing Instructions

Codereview

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@HLeithner
Copy link
Member

@brianteeman what's the issue?

@brianteeman
Copy link
Contributor

Missing documentation

@Hackwar
Copy link
Member Author

Hackwar commented May 2, 2024

What documentation are you expecting?

libraries/src/User/User.php Outdated Show resolved Hide resolved
@laoneo laoneo enabled auto-merge (squash) August 13, 2024 13:03
@laoneo laoneo added this to the Joomla! 5.2.0 milestone Aug 13, 2024
@laoneo laoneo merged commit da20f93 into joomla:5.2-dev Aug 13, 2024
3 checks passed
@Hackwar Hackwar deleted the 5.2-api-auth branch November 24, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants