Skip to content

Commit

Permalink
[Update] Securing phpMyAdmin (#7070)
Browse files Browse the repository at this point in the history
Set the value of cfg['RestrictPaths'] to true because the value is boolean as described in the official documentation: docs.phpmyadmin.net/en/latest/config.html#cookie-authetication-options
  • Loading branch information
Rajakavitha1 authored Sep 17, 2024
1 parent 6b0aa23 commit 9cb2432
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ $cfg['LoginCookieValidity'] = 14400;
$cfg['LoginCookieRecall'] = false;
$cfg['AllowUserDropDatabase'] = false;
$cfg['ShowServerInfo'] = false;
$cfg['RestrictPaths'] = yes;
$cfg['RestrictPaths'] = true;
{{< /file >}}

These configuration options will change the default cookie validity time, automatically logging users out after a predefined period of time. It will also prevent users from deleting databases and will omit server information from phpMyAdmin.
Expand Down

0 comments on commit 9cb2432

Please sign in to comment.