Create route and handler for authentication
This commit is contained in:
		@ -1,5 +1,5 @@
 | 
			
		||||
export function val(api) {
 | 
			
		||||
    let form = document.getElementById("login_form");
 | 
			
		||||
    let form = document.getElementById("login-form");
 | 
			
		||||
 | 
			
		||||
    if (form.checkValidity() === false) {
 | 
			
		||||
        this.event.preventDefault();
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user