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