Skip to content
Snippets Groups Projects
Commit 04e48b5d authored by raghosh's avatar raghosh
Browse files

sign up page giving success message before registration. fixed the issue.

parent 1a0d2356
No related branches found
No related tags found
No related merge requests found
export const host = '/api';
// export const devHost = '/api';
//export const apiHost = '/cms';
export const apiHost = '/cms';
// export const devApiHost = '/cms';
export const devHost = 'https://dev.ddcode.org/api';
//export const devHost = 'http://localhost:5001';
export const apiHost = 'http://localhost:1337';
// export const devHost = 'https://dev.ddcode.org/api';
export const devHost = 'http://localhost:5001';
// export const apiHost = 'http://localhost:1337';
export const devApiHost = 'http://localhost:1337';
// apikey should be give here:
......
......@@ -98,7 +98,15 @@
"
>Profile Link</a
>
<!-- <a href="#" @click="openChangePassword" class="text-gray-700 block px-6 py-2 text-2xl hover:bg-gray-400 hover:text-white hover:no-underline" >Password</a> -->
<!-- <a href="#" @click="openChangePassword" class="text-gray-700
block
px-6
rounded-lg
py-4
text-2xl
hover:bg-gray-400
hover:text-white
hover:no-underline" >Password</a> -->
</div>
</div>
</div>
......@@ -518,7 +526,7 @@ export default {
},
});
// console.log(res.data)
console.log(res.data);
this.error = false;
this.toasterIsOpen = true;
this.selected = [];
......
......@@ -116,7 +116,7 @@ export default {
},
async register(e) {
const vm = this
vm.toasterIsOpen= true;
e.preventDefault()
......@@ -135,6 +135,7 @@ try {
current_role: vm.current_role,
scientific_discipline: vm.scientific_discipline
})
vm.toasterIsOpen= true;
//vm.$router.push('login')
} catch(e) {
// console.error(e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment