added login and sign Funtion properly
This commit is contained in:
@ -88,9 +88,9 @@ const testFunctionSignup = async () => {
|
||||
isError.value = false;
|
||||
errorMsg.value = '';
|
||||
|
||||
const username = 'maria'
|
||||
const password = 'maria123'
|
||||
const password_repeat = 'maria123'
|
||||
const username = 'franzzzzzrtg'
|
||||
const password = '112345678'
|
||||
const password_repeat = '112345678'
|
||||
const fullName = 'hallo'
|
||||
const email = 'test.sdj@web.de'
|
||||
const phonenumber = '015736283729'
|
||||
@ -126,11 +126,10 @@ const testFunctionSignup = async () => {
|
||||
let res = await Axios.post(`https://${clientsideConfig.url}:${clientsideConfig.port}/api/signup`, requestBody);
|
||||
|
||||
// something to do with the res?
|
||||
console.log(res.data)
|
||||
console.log(res)
|
||||
|
||||
} catch (err) {
|
||||
// handle the error
|
||||
// console.log(err)
|
||||
console.log(err.response.statusText)
|
||||
isError.value = true;
|
||||
errorMsg.value = err.response.statusText;
|
||||
|
||||
Reference in New Issue
Block a user