mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 22:05:47 -05:00
Correct password setting for MySQL user
This commit is contained in:
@@ -138,7 +138,7 @@ class DatabaseRepository {
|
||||
|
||||
$capsule->setAsGlobal();
|
||||
Capsule::statement(sprintf(
|
||||
'ALTER USER \'%s\'@\'%s\' IDENTIFIED BY \'%s\'',
|
||||
'SET PASSWORD FOR \'%s\'@\'%s\' = PASSWORD(\'%s\')',
|
||||
$db->username,
|
||||
$db->remote,
|
||||
$password
|
||||
|
||||
Reference in New Issue
Block a user