mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-22 22:17:01 +00:00
Add icon for Security tab and warning/success styling for 2fa card
This commit is contained in:
committed by
KernelDeimos
parent
5fa3c6511f
commit
c8a6d109ce
@@ -28,7 +28,7 @@ export default {
|
||||
|
||||
// configure 2FA
|
||||
if(!user.is_temp){
|
||||
h += `<div class="settings-card">`;
|
||||
h += `<div class="settings-card ${user.otp ? 'settings-card-success' : 'settings-card-warning'}">`;
|
||||
h += `<div>`;
|
||||
h += `<strong style="display:block;">${i18n('two_factor')}</strong>`;
|
||||
h += `<span class="user-otp-state" style="display:block; margin-top:5px;">${
|
||||
@@ -42,7 +42,6 @@ export default {
|
||||
h += `</div>`;
|
||||
}
|
||||
|
||||
|
||||
return h;
|
||||
},
|
||||
init: ($el_window) => {
|
||||
|
||||
Reference in New Issue
Block a user