Skip to content

Commit 01e4f59

Browse files
committed
feat: add logo for verification_resent activity in account logs
1 parent cdd346a commit 01e4f59

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

internal/embed/public/css/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3692,6 +3692,7 @@ tbody tr:hover {
36923692
.activity-icon-totp_enabled { background: rgba(5,150,105,0.15); color: #059669; }
36933693
.activity-icon-totp_disabled { background: rgba(239,68,68,0.15); color: #ef4444; }
36943694
.activity-icon-login_totp { background: rgba(14,165,233,0.15); color: #0ea5e9; }
3695+
.activity-icon-verification_resent { background: rgba(59,130,246,0.15); color: #3b82f6; }
36953696

36963697
.activity-content {
36973698
flex: 1;

internal/embed/public/js/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,6 +2439,7 @@ let activityIcons = {
24392439
login_totp: '<i data-lucide="shield" style="width:14px;height:14px;color:#0ea5e9"></i>',
24402440
recovery_code_used: '<i data-lucide="key" style="width:14px;height:14px;color:#f59e0b"></i>',
24412441
recovery_codes_regenerated: '<i data-lucide="refresh-cw" style="width:14px;height:14px;color:#0ea5e9"></i>',
2442+
verification_resent: '<i data-lucide="send" style="width:14px;height:14px"></i>',
24422443
};
24432444

24442445
function formatRelativeTime(dateStr) {
@@ -2479,6 +2480,7 @@ function getActionLabel(action) {
24792480
login_totp: 'Signed in with 2FA code',
24802481
recovery_code_used: 'Used recovery code to sign in',
24812482
recovery_codes_regenerated: 'Recovery codes regenerated',
2483+
verification_resent: 'Verification email resent',
24822484
};
24832485
return labels[action] || action;
24842486
}

0 commit comments

Comments
 (0)