M3 Integration fixes

This commit is contained in:
Mark Gregory
2026-09-21 13:25:44 +01:00
parent 47085e5160
commit 3521e47ef0
62 changed files with 131 additions and 173 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ if (! function_exists('m3_user')) {
* Return the current Core username in the format expected by the legacy M3 data.
* M3 previously depended on PHP Basic Auth and read PHP_AUTH_USER directly.
*/
function m3_user(): string
function m3User(): string
{
$user = auth()->user();
@@ -29,7 +29,7 @@ if (! function_exists('m3_legacy_password')) {
* Passwords are intentionally unavailable in Core. PostgreSQL access uses
* Laravel's configured connection and never reuses a user's login password.
*/
function m3_legacy_password(): string
function m3LegacyPassword(): string
{
return '';
}