Browse Source

refactor: made sure Recaptcha is no longer loaded after the register modal has closed

Kristian Vos 5 years ago
parent
commit
3653b394cf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      frontend/store/modules/modals.js

+ 1 - 0
frontend/store/modules/modals.js

@@ -32,6 +32,7 @@ const getters = {};
 
 const actions = {
 	closeModal: ({ commit }, data) => {
+		if (data.modal === "register") window.location.reload();
 		commit("closeModal", data);
 	},
 	openModal: ({ commit }, data) => {