You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Add note to test tokens
This commit is contained in:
@@ -58,8 +58,13 @@ export default class IdentityAuthClient {
|
|||||||
|
|
||||||
_checkToken(token) {
|
_checkToken(token) {
|
||||||
// TODO: Test current API token via `/account` endpoint
|
// TODO: Test current API token via `/account` endpoint
|
||||||
|
|
||||||
// At the moment, Sydent doesn't implement `/account`, so we can't use
|
// At the moment, Sydent doesn't implement `/account`, so we can't use
|
||||||
// that yet. We could try a lookup for a null address perhaps...?
|
// that yet. We could try a lookup for a null address perhaps...?
|
||||||
|
// Sydent doesn't currently expire tokens, but we should still be testing
|
||||||
|
// them in any case.
|
||||||
|
// See also https://github.com/vector-im/riot-web/issues/10452.
|
||||||
|
|
||||||
// In any case, we should ensure the token in `localStorage` is cleared
|
// In any case, we should ensure the token in `localStorage` is cleared
|
||||||
// appropriately. We already clear storage on sign out, but we'll need
|
// appropriately. We already clear storage on sign out, but we'll need
|
||||||
// additional clearing when changing ISes in settings as part of future
|
// additional clearing when changing ISes in settings as part of future
|
||||||
|
|||||||
Reference in New Issue
Block a user