feat: rebranded from vpn-router to linux-manager.
This commit is contained in:
1 parent
8efe21bfa6
commit
85a1ffa21f
238 files changed
+5010
-3761
No files matched your search
+3
-3
@@ -5,8 +5,8 @@ import { CODE_PATTERN, PASSKEY_BEGUN_SHAPE, SESSION_SHAPE, request, type Passkey
|
||||
|
||||
/**
|
||||
* The sign-in form: the user name, the password and, for a user enrolled for one-time passwords, the code, or a
|
||||
* passkey in a browser with WebAuthn. The router checks them; onSignedIn gets the session, and a failure shows the
|
||||
* router's message.
|
||||
* passkey in a browser with WebAuthn. The server checks them; onSignedIn gets the session, and a failure shows the
|
||||
* server's message.
|
||||
*/
|
||||
export default function SignIn(props: { onSignedIn: (session: Session) => void }) {
|
||||
const [name, setName] = useState('')
|
||||
@@ -33,7 +33,7 @@ export default function SignIn(props: { onSignedIn: (session: Session) => void }
|
||||
}
|
||||
}
|
||||
|
||||
/** Signs in with a passkey the browser offers for the router's name. */
|
||||
/** Signs in with a passkey the browser offers for the server's name. */
|
||||
async function signInWithPasskey() {
|
||||
setBusy(true)
|
||||
setError(null)
|
||||
|
||||
Reference in new issue
Block a user