mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-06-01 16:30:09 +00:00
Auth readonly class
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
This commit is contained in:
@@ -6,11 +6,11 @@ use AIO\Data\ConfigurationManager;
|
||||
use AIO\Data\DataConst;
|
||||
use DateTime;
|
||||
|
||||
class AuthManager {
|
||||
readonly class AuthManager {
|
||||
private const string SESSION_KEY = 'aio_authenticated';
|
||||
|
||||
public function __construct(
|
||||
private readonly ConfigurationManager $configurationManager
|
||||
private ConfigurationManager $configurationManager
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace AIO\Auth;
|
||||
|
||||
use Random\RandomException;
|
||||
|
||||
class PasswordGenerator {
|
||||
readonly class PasswordGenerator {
|
||||
|
||||
private const array WORDS = [
|
||||
'abacus',
|
||||
|
||||
Reference in New Issue
Block a user