DaanHoogland commented on code in PR #13955:
URL: https://github.com/apache/cloudstack/pull/13955#discussion_r4523864463


##########
ui/src/views/iam/AddAccount.vue:
##########
@@ -408,12 +422,16 @@ export default {
         const params = {
           roleid: values.roleid,
           username: values.username,
-          password: values.password,
           email: values.email,
           firstname: values.firstname,
           lastname: values.lastname,
           domainid: values.domainid
         }
+        if (!values.samlenable) {
+          // SAML-authenticated accounts never log in with a native password; 
let the API
+          // generate one rather than asking the admin to set one that will 
never be used

Review Comment:
   ```suggestion
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to