Skip to content

Hardcoded paths that only work on Linux! #1219

@Leproide

Description

@Leproide

I believe a large part of the code needs to be rewritten from scratch.
Everything was built to work only on Windows, and some parts are broken regardless of the platform (e.g., user creation, which I already fixed).

Example? If you enable MFA enforcement, everything breaks unless you're on Linux.
Why? Hardcoded paths that only work on Linux!

Fix?

require_once __DIR__ . '/config.php';
require_once __DIR__ . '/functions.php';
require_once __DIR__ . '/includes/check_login.php';
require_once __DIR__ . '/plugins/totp/totp.php'; // TOTP MFA Lib

in mfa_enforcement.php

The project is really great, but it doesn't make sense to limit it to a single platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions