diff --git a/assets/image/empty-avatar.jpg b/assets/image/empty-avatar.jpg
new file mode 100644
index 0000000..299e85c
Binary files /dev/null and b/assets/image/empty-avatar.jpg differ
diff --git a/components/app.vue b/components/app.vue
index 49898d4..2a99736 100644
--- a/components/app.vue
+++ b/components/app.vue
@@ -95,6 +95,10 @@ function getUser() {
}).then (result => {
if (!result || !result.length) return // Exit if token is invalid
this.user = result[0]
+ if (this.user.avatar) return
+
+ fetch("/assets/image/empty-avatar.jpg").then(r => r.blob()).
+ then(b => this.user.avatar = b)
})
}
diff --git a/components/settings.vue b/components/settings.vue
index f4b45af..d9eba03 100644
--- a/components/settings.vue
+++ b/components/settings.vue
@@ -4,7 +4,10 @@
@@ -52,25 +55,43 @@
-