Skip to content

Commit a9006de

Browse files
authored
fixed small typo (#1541)
1 parent 2a3d152 commit a9006de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_source/_posts/2022-02-08-cookies-vs-tokens.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Tokens—or JWTs in this context—are stateless in nature, meaning the server d
102102

103103
* **Multiple storage options**: Tokens can be stored in a number of ways in browsers or front-end applications.
104104

105-
If you use a browser's local storage, tokens can't be accessed by a subdomain. However, they can be accessed and manipulated by any JavaScript code on the webpage, as well as by browser plugins. This isn't a recommended method: first, itposes a security risk, plus you must manage the storage.
105+
If you use a browser's local storage, tokens can't be accessed by a subdomain. However, they can be accessed and manipulated by any JavaScript code on the webpage, as well as by browser plugins. This isn't a recommended method: first, it poses a security risk, plus you must manage the storage.
106106

107107
Session storage is another way to store tokens. The drawback is that the token is destroyed when the browser is closed.
108108

0 commit comments

Comments
 (0)