rhtyd commented on a change in pull request #4910:
URL: https://github.com/apache/cloudstack/pull/4910#discussion_r611858506
##########
File path: ui/src/api/index.js
##########
@@ -42,7 +42,7 @@ export function api (command, args = {}, method = 'GET', data
= {}) {
export function login (arg) {
const params = new URLSearchParams()
params.append('command', 'login')
- params.append('username', arg.username)
+ params.append('username', arg.username || arg.email)
Review comment:
The culprit is in Login.vue, but this is okay.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]