migrate mcaptcha-glue to @mcaptcha/vanilla-glue

This commit is contained in:
realaravinth
2021-12-16 20:57:39 +05:30
parent 73ce2d1cb1
commit 9999bd887a
4 changed files with 17 additions and 10 deletions

View File

@@ -14,6 +14,6 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import * as lib from "mcaptcha-glue";
//import * as lib from "@mcaptcha/vanilla-glue";
export const register = (): void => lib.init();
//export const register = (): void => init();

View File

@@ -14,7 +14,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {init} from "mcaptcha-glue";
//import {init} from "mcaptcha-glue";
import VIEWS from "../../../views/v1/routes";
@@ -69,5 +69,5 @@ export const index = (): void => {
const form = <HTMLFontElement>document.getElementById("form");
form.addEventListener("submit", login, true);
registerShowPassword();
init();
// init();
};