Skip to content

Bypass refreshToken() when authentication is not enabled.#2900

Merged
chrisknoll merged 2 commits into
masterfrom
issue-2899-refreshToken
Dec 14, 2023
Merged

Bypass refreshToken() when authentication is not enabled.#2900
chrisknoll merged 2 commits into
masterfrom
issue-2899-refreshToken

Conversation

@chrisknoll

Copy link
Copy Markdown
Collaborator

Fixes #2899

Comment thread js/services/AuthAPI.js Outdated
var refreshToken = function() {

if (!config.userAuthenticationEnabled) {
return Promise.resolve(true); // no-op if userAthenticationEnabmed == false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in comments: ...Enabmed -> ...Enabled

@chrisknoll chrisknoll merged commit 4a00c1c into master Dec 14, 2023
@delete-merged-branch delete-merged-branch Bot deleted the issue-2899-refreshToken branch December 14, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Atlas 2.14.0 - Characterization - /user/refresh with 404 when user authentication not enabled

2 participants