feat: dynamic login and registering (#3604)

This commit is contained in:
dni ⚡
2025-12-04 11:50:45 +01:00
committed by GitHub
parent 73634e5161
commit 625fa6503c
11 changed files with 49 additions and 34 deletions
+6
View File
@@ -89,6 +89,12 @@ window._lnbitsApi = {
}
})
},
getAuthUser() {
return axios({
method: 'GET',
url: '/api/v1/auth'
})
},
login(username, password) {
return axios({
method: 'POST',