]> _ Git - odl.git/commitdiff
wip #4765
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 11 Oct 2021 09:26:34 +0000 (11:26 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 11 Oct 2021 09:26:34 +0000 (11:26 +0200)
app/Models/User.php

index ce59b28c0a26399aa6e17838bc09472ae712c9d7..ae0a8e6aced28cf2d2b3fd5e37c21613e9fa194e 100644 (file)
@@ -11,4 +11,15 @@ class User extends CubistMagicAuthenticatable
         'singular' => 'utilisateur',
         'plural' => 'utilisateurs',
         'oneinstance' => false];
+
+    public function setFields()
+    {
+        parent::setFields();
+
+        $this->addField('avatar', 'Text', 'Avatar');
+        $this->addField('username', 'Text', 'Username');
+        $this->addField('name', 'Text', 'Name');
+        $this->addField('provider', 'Text', 'Provider');
+        $this->addField('url', 'Text', 'URL');
+    }
 }