From ef5a9c49949c3d80a616391fd66e2973a4d1ed00 Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Fri, 29 Mar 2019 18:08:54 +0100 Subject: [PATCH] Add user registration --- src/App.vue | 1 + src/components/loginform.vue | 6 +- src/components/registerform.vue | 35 ++++++++++ src/main.js | 1 + src/router.js | 6 ++ src/store.js | 10 +++ src/util/auth.js | 19 ++++-- src/views/Login.vue | 42 +++++------- src/views/Oauth2.vue | 26 ++++---- src/views/Register.vue | 112 ++++++++++++++++++++++++++++++++ 10 files changed, 213 insertions(+), 45 deletions(-) create mode 100644 src/components/registerform.vue create mode 100644 src/views/Register.vue diff --git a/src/App.vue b/src/App.vue index 7f56d53..d349903 100644 --- a/src/App.vue +++ b/src/App.vue @@ -36,6 +36,7 @@ diff --git a/src/components/loginform.vue b/src/components/loginform.vue index 2a11057..ac33d15 100644 --- a/src/components/loginform.vue +++ b/src/components/loginform.vue @@ -1,4 +1,3 @@ -