1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-01-07 22:19:19 +00:00

Merge pull request #5975 from mailcow/staging

Automatic PR to nightly from 2024-08-01T03:13:55Z
This commit is contained in:
FreddleSpl0it
2024-08-01 11:07:55 +02:00
committed by GitHub
4 changed files with 17 additions and 50 deletions

View File

@@ -1396,7 +1396,7 @@ function unset_tfa_key($_data) {
}
function get_tfa($username = null, $id = null) {
global $pdo;
if (isset($_SESSION['mailcow_cc_username'])) {
if (empty($username) && isset($_SESSION['mailcow_cc_username'])) {
$username = $_SESSION['mailcow_cc_username'];
}
elseif (empty($username)) {

View File

@@ -397,7 +397,10 @@ jQuery(function($){
{
title: lang.host,
data: 'hostname',
defaultContent: ''
defaultContent: '',
render: function (data, type) {
return escapeHtml(data);
}
},
{
title: lang.username,

View File

@@ -325,7 +325,10 @@ jQuery(function($){
title: 'URI',
data: 'uri',
defaultContent: '',
className: 'dtr-col-md dtr-break-all'
className: 'dtr-col-md dtr-break-all',
render: function (data, type) {
return escapeHtml(data);
}
},
{
title: 'Method',