Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
Signed-off-by: Jat <[email protected]>
  • Loading branch information
jat001 committed Apr 14, 2022
1 parent 9eb0e79 commit 962300a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources-front-end/src/store/modules/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const user = {
Login({ commit }, userInfo) {
const username = userInfo.username.trim()
const saltp = saltPassword(userInfo.password.trim())

return new Promise((resolve, reject) => {
login(username, saltp.password, saltp.nonce, saltp.timestamp).then(response => {
const data = response.data
Expand Down Expand Up @@ -148,4 +149,5 @@ const user = {
}
}
}

export default user

0 comments on commit 962300a

Please sign in to comment.