import wixUsersr from ' wix-users'; import wixLocation from 'wix-location'; $w.onReady(function(){ $w('#loginNow').onClick(function(){ let email = $w('#loginEmail').value; let password = $w('#loginPassword').value; wixUsers.login(email,password) .then(()=>{ wixLocation.to('/wix-training-academy'); }) }) })
top of page
Email
Password

Incorrect Email or Password**

bottom of page