modified: public/script.js
This commit is contained in:
parent
0c6770d5ae
commit
3331aa1d7f
@ -13,7 +13,6 @@ $(document).ready(function() {
|
||||
$('#form1').submit(function(event) {
|
||||
event.preventDefault();
|
||||
const username = $('#register-username').val().trim();
|
||||
const email = $('#register-email').val().trim(); // 不用于后台,只是前端展示
|
||||
const password = $('#register-password').val().trim();
|
||||
|
||||
if (!username || !password) {
|
||||
|
Loading…
Reference in New Issue
Block a user