Notify user about expired master password for permanent login

This commit is contained in:
Jakub Vrana
2013-06-11 11:02:17 +02:00
parent 64297aea60
commit f29a7cb140
8 changed files with 20 additions and 9 deletions

View File

@@ -20,10 +20,11 @@ class Adminer {
}
/** Get key used for permanent login
* @return string cryptic string which gets combined with password
* @param bool
* @return string cryptic string which gets combined with password or false in case of an error
*/
function permanentLogin() {
return password_file();
function permanentLogin($create = false) {
return password_file($create);
}
/** Identifier of selected database