From a786cc848c121b7885cf3bd34cd5143ee75ebc1e Mon Sep 17 00:00:00 2001 From: Hubert Van De Walle Date: Thu, 18 Jun 2020 17:07:54 +0200 Subject: [PATCH] Match registration rules in frontend --- api-doc/users/index.apib | 2 -- frontend/components/RegisterForm.vue | 33 +++++++++++----------------- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/api-doc/users/index.apib b/api-doc/users/index.apib index 7e6941f..d2f719f 100644 --- a/api-doc/users/index.apib +++ b/api-doc/users/index.apib @@ -19,7 +19,6 @@ + Request (application/json) + Attributes (object) + username: babar (string) - + email: `michel@seed-it.eu` (string) + password: tortue (string) + Response 200 (application/json) @@ -85,4 +84,3 @@ Receive the username and email from the currently logged in user + Attributes + user: (object) + username: babar (string) - + email: `michel@seed-it.eu` (string) \ No newline at end of file diff --git a/frontend/components/RegisterForm.vue b/frontend/components/RegisterForm.vue index da6a556..97e0ca5 100644 --- a/frontend/components/RegisterForm.vue +++ b/frontend/components/RegisterForm.vue @@ -10,14 +10,6 @@ :prepend-icon="mdiAccount" > - - -