fix: authenticate per request (#2258)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2258 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
3e770e11f1
commit
6e4a3ff199
3 changed files with 29 additions and 23 deletions
|
|
@ -215,7 +215,7 @@ export default {
|
|||
return
|
||||
}
|
||||
|
||||
const HTTP = AuthenticatedHTTPFactory(jwt)
|
||||
const HTTP = AuthenticatedHTTPFactory()
|
||||
try {
|
||||
const response = await HTTP.get('user')
|
||||
const info = new UserModel(response.data)
|
||||
|
|
|
|||
Reference in a new issue