mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Auth readonly class
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
This commit is contained in:
parent
5187ea6c35
commit
1e4f32f3cb
2 changed files with 3 additions and 3 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue