OligarchCat's avatar

Error uncompromised() method on MacOs

Hello all! When I was writing password rules for my API, I encountered an issue where the rules worked when deployed to Ubuntu 24.04. On MacOS (M1), I got an error. After testing, it turned out there was an error in the method uncompromised(). Has anyone encountered this issue?

The project was deployed five times on each machine (without Docker, PHP 8.4).

Password::defaults(static function () {
            return Password::min(8)
                ->max(16)
                ->mixedCase()
                ->letters()
                ->numbers()
                ->symbols()
                ->uncompromised();
0 likes
2 replies
Snapey's avatar

what error? Go on, give us a clue!

2 likes
martinbean's avatar

I got an error.

@oligarchcat Which was…?

This may come as a surprise to you, but we’re neither clairvoyant nor can we see your screen. So if you did get an error, you kinda have to tell us what that error was for any one to be able to even start helping you.

1 like

Please or to participate in this conversation.