Fix Fatal error: Call to undefined function prompt_silent()

This commit is contained in:
Aleksander Machniak 2021-09-16 08:44:18 +02:00
parent 05a0fd8aab
commit d3a6a40c25

View file

@ -201,7 +201,7 @@ function authenticate(&$opts)
// prompt for password // prompt for password
if (empty($opts['password']) && ($opts['username'] || $opts['user'])) { if (empty($opts['password']) && ($opts['username'] || $opts['user'])) {
$opts['password'] = prompt_silent("Password: "); $opts['password'] = rcube_utils::prompt_silent("Password: ");
} }
// simulate "login as" feature // simulate "login as" feature