Disabled password prompt due to instability
https://git.n64.cc/nosial/ncc/-/issues/23
This commit is contained in:
parent
33e373c798
commit
3fc50e04e5
1 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
<?php /** @noinspection PhpMissingFieldTypeInspection */
|
<?php
|
||||||
|
|
||||||
namespace ncc\Utilities;
|
/** @noinspection PhpMissingFieldTypeInspection */
|
||||||
|
|
||||||
|
namespace ncc\Utilities;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use ncc\Abstracts\ConsoleColors;
|
use ncc\Abstracts\ConsoleColors;
|
||||||
|
@ -439,6 +441,10 @@ namespace ncc\Utilities;
|
||||||
if(!ncc::cliMode())
|
if(!ncc::cliMode())
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
Console::outWarning('passwordInput() is not properly implemented yet, defaulting to prompt');
|
||||||
|
return self::getInput($prompt);
|
||||||
|
|
||||||
|
/**
|
||||||
$executable_finder = new ExecutableFinder();
|
$executable_finder = new ExecutableFinder();
|
||||||
$bash_path = $executable_finder->find('bash');
|
$bash_path = $executable_finder->find('bash');
|
||||||
|
|
||||||
|
@ -454,6 +460,7 @@ namespace ncc\Utilities;
|
||||||
$password = rtrim(shell_exec($command));
|
$password = rtrim(shell_exec($command));
|
||||||
self::out((string)null);
|
self::out((string)null);
|
||||||
return $password;
|
return $password;
|
||||||
|
**/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue