Skip to content

Commit d115de5

Browse files
committed
Fix Grass token hint: accessToken in localStorage, not console
1 parent d414eab commit d115de5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/collectors/grass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
cumulative points. Grass uses OTP email login with no password, so users
55
must provide their access token from the browser.
66
7-
To get the token: open app.grass.io, log in, then run in the browser console:
8-
localStorage.getItem('token')
7+
To get the token: open app.grass.io, log in, press F12, go to
8+
Application > Local Storage, and copy the `accessToken` value.
99
"""
1010

1111
from __future__ import annotations

app/templates/settings.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ <h3 class="settings-section-title">Earnings Collection</h3>
150150
<div class="form-group">
151151
<label class="form-label">Access Token</label>
152152
<input class="form-input collector-input" type="password" data-config="grass_access_token"
153-
placeholder="From browser: F12 > Console > localStorage.getItem('token')">
154-
<div class="form-hint">Open <a href="https://app.grass.io" target="_blank">app.grass.io</a>, log in, press F12, go to Console, and run: <code>localStorage.getItem('token')</code></div>
153+
placeholder="From browser: F12 > Application > Local Storage > accessToken">
154+
<div class="form-hint">Open <a href="https://app.grass.io" target="_blank">app.grass.io</a>, log in, press F12, go to Application &gt; Local Storage, and copy the <code>accessToken</code> value.</div>
155155
</div>
156156
</div>
157157
</details>

0 commit comments

Comments
 (0)