feat: minimal locally stored user entity

This commit is contained in:
Björn Fromme committed 2025-04-24 17:09:05 +02:00
1 parent 53884e4e12
commit c418ae6399
14 files changed
+217 -200

No files matched your search

@@ -1,16 +0,0 @@
<?php
namespace App\Controller\Traits;
use App\BusProNet\Security\User;
use App\Security\Crypt;
trait CredentialsTrait
{
public function getPasswordPlain(User $bpnUser, string $pathToKeys): string
{
$crypt = new Crypt($pathToKeys);
return $crypt->decrypt($bpnUser->getPassword());
}
}