reafactor(login): trim() username
This commit is contained in:
parent
4e757e9276
commit
5ed1b27789
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ const password = ref<string>('')
|
|||
async function onSubmit() {
|
||||
showLoader()
|
||||
const formdata = new URLSearchParams()
|
||||
formdata.append('username', username.value)
|
||||
formdata.append('username', username.value.trim())
|
||||
formdata.append('password', password.value)
|
||||
|
||||
await axios
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue