Update: 2026-05-04 21:37:54
This commit is contained in:
@@ -62,7 +62,7 @@ final class Encryption
|
|||||||
$tagLength = 16;
|
$tagLength = 16;
|
||||||
|
|
||||||
if (strlen($decoded) < $ivLength + $tagLength) {
|
if (strlen($decoded) < $ivLength + $tagLength) {
|
||||||
error_log("ENCRYPTION ERROR: Data too short for IV and TAG. Length: " . strlen($decoded));
|
// This is likely legacy unencrypted data, return false silently
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -504,6 +504,11 @@
|
|||||||
<div x-show="currentInvoice?.status === 'approved'" class="w-full bg-emerald-900/30 text-emerald-400 py-3 rounded-2xl font-bold text-center border border-emerald-900/50">
|
<div x-show="currentInvoice?.status === 'approved'" class="w-full bg-emerald-900/30 text-emerald-400 py-3 rounded-2xl font-bold text-center border border-emerald-900/50">
|
||||||
✅ مدققة وموثقة محلياً
|
✅ مدققة وموثقة محلياً
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Edit Tenant Modal (Super Admin Only) -->
|
<!-- Edit Tenant Modal (Super Admin Only) -->
|
||||||
<div x-show="showEditTenantModal" x-cloak class="fixed inset-0 bg-black/90 flex items-center justify-center p-6 z-[140]">
|
<div x-show="showEditTenantModal" x-cloak class="fixed inset-0 bg-black/90 flex items-center justify-center p-6 z-[140]">
|
||||||
@@ -543,11 +548,6 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Add Tenant Modal (Super Admin Only) -->
|
<!-- Add Tenant Modal (Super Admin Only) -->
|
||||||
<div x-show="showAddTenantModal" x-cloak class="fixed inset-0 bg-black/90 flex items-center justify-center p-6 z-[140]">
|
<div x-show="showAddTenantModal" x-cloak class="fixed inset-0 bg-black/90 flex items-center justify-center p-6 z-[140]">
|
||||||
|
|||||||
Reference in New Issue
Block a user