mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Fixes bug causing MySQL user accounts to be corrupted when resetting a password via the panel.
closes #352
This commit is contained in:
@@ -68,7 +68,7 @@ class Database extends Model
|
||||
*/
|
||||
public function host()
|
||||
{
|
||||
return $this->belongsTo(DatabaseHost::class);
|
||||
return $this->belongsTo(DatabaseHost::class, 'database_host_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user