mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
bug fix: blowfish secret
This commit is contained in:
@@ -242,11 +242,11 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout';
|
|||||||
if items.find('blowfish_secret') > -1:
|
if items.find('blowfish_secret') > -1:
|
||||||
writeToFile.writelines(
|
writeToFile.writelines(
|
||||||
"$cfg['blowfish_secret'] = '" + rString + "'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */\n")
|
"$cfg['blowfish_secret'] = '" + rString + "'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */\n")
|
||||||
if items.find('/* Authentication type */') > -1:
|
elif items.find('/* Authentication type */') > -1:
|
||||||
writeToFile.writelines(items)
|
writeToFile.writelines(items)
|
||||||
writeToFile.write(phpMyAdminContent)
|
writeToFile.write(phpMyAdminContent)
|
||||||
writeE = 0
|
writeE = 0
|
||||||
if items.find("$cfg['Servers'][$i]['AllowNoPassword']") > -1:
|
elif items.find("$cfg['Servers'][$i]['AllowNoPassword']") > -1:
|
||||||
writeE = 1
|
writeE = 1
|
||||||
else:
|
else:
|
||||||
if writeE:
|
if writeE:
|
||||||
|
|||||||
Reference in New Issue
Block a user