mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
update to initialize first
This commit is contained in:
1 parent
4579e41ace
commit
780799f87a
1 file changed
+4
-2
@@ -158,12 +158,14 @@ class Install extends Action
|
||||
}
|
||||
|
||||
if ($var['filter'] === 'token') {
|
||||
$input[$var['name']] = (new Token())->generate();
|
||||
$token = new Token();
|
||||
$input[$var['name']] = $token->generate();
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($var['filter'] === 'password') {
|
||||
$input[$var['name']] = (new Password())->generate();
|
||||
$password = new Password();
|
||||
$input[$var['name']] = $password->generate();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user