···241241 migrate-blobs <did> migrate blobs for a specific user to S3
242242|}
243243244244-(** CLI entry point *)
245244let () =
246245 let args = Array.to_list Sys.argv |> List.tl in
247246 match args with
···1717 (string "sign up")
1818 </h1>
1919 <span className="w-full text-balance text-mist-100">
2020- (string "Create your account on this PDS.")
2020+ (string "You'll need an invite code to create an account on this PDS.")
2121 </span>
2222 <form className="w-full flex flex-col mt-4 mb-2 gap-y-2">
2323 <input type_="hidden" name="dream.csrf" value=csrf_token />
···4444 </Button>
4545 </form>
4646 <span className="text-sm text-mist-100">
4747- (string "Already have an account? ")
4747+ (string "already have an account? ")
4848 <a
4949 href="/account/login"
5050 className="text-mana-100 underline hover:text-mana-200">
5151- (string "Sign in")
5151+ (string "sign in")
5252 </a>
5353 (string ".")
5454 </span>
+1-1
pegasus/lib/api/root.ml
···2929⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⠿⠆⠀⠀⠀⠀⠀⠀
30303131 this is [pegasus](https://tangled.org/@futur.blue/pegasus)
3232- it's going to be an atproto personal data server eventually
3232+ manage your account at /account
3333|} )
+5-2
pegasus/lib/auth.ml
···319319 @@ Errors.auth_required ~name:"AccountDeactivated"
320320 "account is deactivated"
321321 | None ->
322322- Lwt.return_error @@ Errors.auth_required "invalid session" )
322322+ let%lwt () = Session.Raw.clear_session req in
323323+ Lwt.return_error @@ Errors.auth_required "no active session" )
323324 | None ->
324325 Lwt.return_error @@ Errors.auth_required "no active session"
325326···365366 "unexpected authorization type" )
366367367368 let any : verifier =
368368- fun ctx -> try authorization ctx with _ -> unauthenticated ctx
369369+ fun ctx ->
370370+ try%lwt Lwt_result.map_error raise @@ authorization ctx
371371+ with _ -> unauthenticated ctx
369372370373 type t =
371374 | Unauthenticated