M3 Integration fixes
This commit is contained in:
@@ -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 '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user