A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
fix: unused admin check looks for a specific username
aminnausin275f39a1e044
diff --git a/app/Models/User.php b/app/Models/User.phpindex 053eabcf..c027f4d5 100755--- a/app/Models/User.php+++ b/app/Models/User.php@@ -42,18 +42,11 @@ class User extends Authenticatable {protected function casts(): array {return ['email_verified_at' => 'datetime',+ 'last_active' => 'datetime','password' => 'hashed',];}- public function isAdmin(): bool {- if ($this->name == 'aminushki') {- return true;- }-- return false;- }-/*** Send the password reset notification.*