fixed signup and renaming problems
This commit is contained in:
@ -83,7 +83,7 @@ const handleLogin = async () => {
|
||||
// sucessfully logged in
|
||||
router.push('/home')*/
|
||||
let res = await signIn( credentials, { callbackUrl: '/home' })
|
||||
console.log("res", res)
|
||||
// console.log("res", res)
|
||||
|
||||
} catch (err) {
|
||||
// handle the error
|
||||
@ -97,16 +97,16 @@ const testFunctionSignup = async () => {
|
||||
isError.value = false;
|
||||
errorMsg.value = '';
|
||||
|
||||
const username = 'franzzzzzrtg'
|
||||
const password = '112345678'
|
||||
const password_repeat = '112345678'
|
||||
const fullName = 'hallo'
|
||||
const email = 'test.sdj@web.de'
|
||||
const phonenumber = '015736283729'
|
||||
const address = 'Strasse'
|
||||
const city = 'tuebingen'
|
||||
const postcode = '72121'
|
||||
const adminBool = false
|
||||
const username = 'adm_tueit'
|
||||
const password = 'SvF=?bfEx7_hV,cMEu4m'
|
||||
const password_repeat = 'SvF=?bfEx7_hV,cMEu4m'
|
||||
const fullName = 'administrator'
|
||||
const email = 'support@tueit.de'
|
||||
const phonenumber = ''
|
||||
const address = ''
|
||||
const city = ''
|
||||
const postcode = ''
|
||||
const adminBool = true
|
||||
const technician1Bool = false
|
||||
const technician2Bool = false
|
||||
const technicianMonitoringBool = false
|
||||
@ -132,10 +132,11 @@ const testFunctionSignup = async () => {
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
let res = await Axios.post(`https://${clientsideConfig.url}:${clientsideConfig.port}/api/signup`, requestBody);
|
||||
|
||||
// something to do with the res?
|
||||
console.log(res)
|
||||
// console.log(res)
|
||||
|
||||
} catch (err) {
|
||||
// handle the error
|
||||
|
||||
Reference in New Issue
Block a user