mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 14:23:44 +02:00
Add new location and user management via CLI
This commit is contained in:
@@ -300,6 +300,16 @@ class User extends Model implements
|
||||
$this->attributes['username'] = strtolower($value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a concated result for the accounts full name.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNameAttribute()
|
||||
{
|
||||
return $this->name_first . ' ' . $this->name_last;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all permissions that a user has.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user