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

Fix self registration with SelfRegistration.ShowUsernameUnavailability config #7596

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

amanda-ariyaratne
Copy link
Contributor

Purpose

In the self registration flow, SelfRegistration.ShowUsernameUnavailability config was not honoured previously. This PR fixes it.

Related Issues

Related PRs

  • N/A

Checklist

  • e2e cypress tests locally verified. (for internal contributers)
  • Manual test round performed and verified.
  • UX/UI review done on the final implementation.
  • Documentation provided. (Add links if there are any)
  • Relevant backend changes deployed and verified
  • Unit tests provided. (Add links if there are any)
  • Integration tests provided. (Add links if there are any)

Security checks

@wso2-jenkins-bot
Copy link
Contributor

🦋 Changeset detected

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.85%. Comparing base (e657fb2) to head (5b00a4c).
Report is 65 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7596   +/-   ##
=======================================
  Coverage   41.85%   41.85%           
=======================================
  Files          42       42           
  Lines         939      939           
  Branches      238      238           
=======================================
  Hits          393      393           
+ Misses        546      502   -44     
- Partials        0       44   +44     
Flag Coverage Δ
@wso2is/core 41.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 12 files with indirect coverage changes

if (isAccountVerificationEnabled && !isShowUsernameUnavailabilityEnabled) {
request.setAttribute("callback", callback);
if (StringUtils.isNotBlank(srtenantDomain)) {
request.setAttribute("srtenantDomain", srtenantDomain);
Copy link
Contributor

@pavinduLakshan pavinduLakshan Feb 11, 2025

Choose a reason for hiding this comment

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

what does sr prefix mean in the param name?

@amanda-ariyaratne amanda-ariyaratne merged commit 8467708 into wso2:master Feb 13, 2025
11 checks passed
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.

3 participants