Skip to content

Commit

Permalink
feat: registration more things
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispanag committed Nov 21, 2022
1 parent 109bab6 commit 220ce8c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/register/SignUp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ const props = defineProps<{ privateKey: string }>();
const login = useLogin();
function back() {
localStorage.clear();
location.reload();
}
async function handleRegisterID() {
try {
if (!captchaID.value) {
Expand Down Expand Up @@ -68,6 +63,11 @@ async function handleRegisterID() {
}
}
function back() {
localStorage.clear();
location.reload();
}
onMounted(async () => {
const doc = document.getElementById(`hcaptcha`);
if (!doc) {
Expand Down

0 comments on commit 220ce8c

Please sign in to comment.