1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-18 04:11:27 +02:00

Improve error message

This commit is contained in:
Jakub Vrana
2018-05-07 12:21:31 +02:00
parent 6f25b1b5cf
commit 36f13031f7
3 changed files with 4 additions and 4 deletions

View File

@@ -145,8 +145,8 @@ class Adminer {
* @return mixed true for success, string for error message, false for unknown error
*/
function login($login, $password) {
if ($password == "") { //! password is optional in Elastic and Mongo
return lang('<a href="https://www.adminer.org/en/extension/"%s>Implement</a> %s method to use password-less database.', target_blank(), '<code>login()</code>');
if ($password == "") {
return lang('Adminer does not support accessing a database without a password, <a href="https://www.adminer.org/en/password/"%s>more information</a>.', target_blank());
}
return true;
}