mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Add back API (#80)
Re-implements the API after it was removed in the Laravel 5.3 upgrade.
This commit is contained in:
@@ -43,7 +43,10 @@ class Server extends Model
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $hidden = ['daemonSecret'];
|
||||
protected $hidden = [
|
||||
'daemonSecret',
|
||||
'sftp_password'
|
||||
];
|
||||
|
||||
/**
|
||||
* Fields that are not mass assignable.
|
||||
|
||||
Reference in New Issue
Block a user