mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 01:55:40 +00:00
migrate mcaptcha-glue to @mcaptcha/vanilla-glue
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user