rhtyd commented on a change in pull request #5683:
URL: https://github.com/apache/cloudstack/pull/5683#discussion_r748395416



##########
File path: ui/src/components/view/InfoCard.vue
##########
@@ -49,6 +49,14 @@
               </div>
             </slot>
           </div>
+          <div>
+            <br/>
+            <a-divider/>
+            <p><b>2FA QR</b></p>
+            <span v-if="resource.username">
+              <img 
src="https://www.google.com/chart?chs=200x200&chld=M%%7C0&cht=qr&chl=otpauth://totp/Apache%20CloudStack%3Atest%40gmail.com?secret=7t4gabg72liipmq7n43lt3cw66fel4iz&issuer=Apache%20CloudStack"/>

Review comment:
       The workflow would be for the user to first log-in, then click a button 
to enable 2FA where they'll be shown this QR code. For this hack, I've taken 
shortcuts (for ex. the static QR code, instead of a randomly generated one per 
account).




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