Commit 5a6a05fcd1
Unsigned
Layout: unified · split
Hutch/Views/Auth/AuthView.swift +1 −1
| @@ -3,7 +3,7 @@ import SwiftUI | |||
| 3 | /// Token entry screen shown when the user is not authenticated. | 3 | /// Token entry screen shown when the user is not authenticated. |
| 4 | struct TokenEntryView: View { | 4 | struct TokenEntryView: View { |
| 5 | private let createAccountURL = URL(string: "https://meta.sr.ht/register")! | 5 | private let createAccountURL = URL(string: "https://meta.sr.ht/register")! |
| 6 | private let personalAccessTokensURL = URL(string: "https://meta.sr.ht/oauth/personal-access-tokens")! | 6 | private let personalAccessTokensURL = URL(string: "https://meta.sr.ht/oauth2/personal-token")! |
| 7 | 7 | ||
| 8 | @Environment(AppState.self) private var appState | 8 | @Environment(AppState.self) private var appState |
| 9 | @State private var token = "" | 9 | @State private var token = "" |
README.md +1 −1
| @@ -44,7 +44,7 @@ Some SourceHut services are still browser-only from within Hutch. Unsupported ar | |||
| 44 | 44 | ||
| 45 | You can create a token at: | 45 | You can create a token at: |
| 46 | 46 | ||
| 47 | - `https://meta.sr.ht/oauth/personal-access-tokens` | 47 | - `https://meta.sr.ht/oauth2/personal-token` |
| 48 | 48 | ||
| 49 | ## Using Hutch | 49 | ## Using Hutch |
| 50 | 50 | ||