mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
Added Cookie Authentication (#360)
* Added Cookie Authentication * Fixed issue with bearer is in lower case * Fixed bearer to Bearer to conform with standard
This commit is contained in:
parent
c028c7db4e
commit
be3e3e5d7e
11 changed files with 116 additions and 12 deletions
|
|
@ -25,6 +25,6 @@ class ApiService {
|
|||
}
|
||||
|
||||
setAccessToken(String accessToken) {
|
||||
_apiClient.addDefaultHeader('Authorization', 'bearer $accessToken');
|
||||
_apiClient.addDefaultHeader('Authorization', 'Bearer $accessToken');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue