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

index ae0a8e6aced28cf2d2b3fd5e37c21613e9fa194e..b3f8afb1778add1a84aa1f8f031843d17f6b54d6 100644 (file)
@@ -22,4 +22,9 @@ class User extends CubistMagicAuthenticatable
         $this->addField('provider', 'Text', 'Provider');
         $this->addField('url', 'Text', 'URL');
     }
+
+    public function getAvatar()
+    {
+        return $this->getAttribute('avatar');
+    }
 }