Skip to content

UI: fix login on UI#4910

Merged
yadvr merged 1 commit into
apache:4.15from
shapeblue:415-fix-login
Apr 12, 2021
Merged

UI: fix login on UI#4910
yadvr merged 1 commit into
apache:4.15from
shapeblue:415-fix-login

Conversation

@Pearl1594

Copy link
Copy Markdown
Contributor

Description

Fixes #4908

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Specify username in the following format : xxx@domain.com and verified the login parameters being passed. Username is no longer undefined but points to the passed email address.

Without fix:
image

With Fix:
image

@Pearl1594 Pearl1594 changed the title UI: fix login on new UI UI: fix login on UI Apr 12, 2021
@Pearl1594 Pearl1594 changed the base branch from master to 4.15 April 12, 2021 09:14
@Pearl1594

Copy link
Copy Markdown
Contributor Author

@blueorangutan ui

@Pearl1594 Pearl1594 added this to the 4.15.1.0 milestone Apr 12, 2021
@blueorangutan

Copy link
Copy Markdown

@Pearl1594 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/4910 (SL-JID-93)

@Pearl1594 Pearl1594 requested review from DaanHoogland and yadvr April 12, 2021 09:29
@alexandremattioli

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@alexandremattioli a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 394

Comment thread ui/src/api/index.js
const params = new URLSearchParams()
params.append('command', 'login')
params.append('username', arg.username)
params.append('username', arg.username || arg.email)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The culprit is in Login.vue, but this is okay.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@yadvr

yadvr commented Apr 12, 2021

Copy link
Copy Markdown
Member

Tested LGTM

@yadvr yadvr merged commit 4c16024 into apache:4.15 Apr 12, 2021
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.

login fails with certain username formats

5 participants