app: fix registration URLs

This commit is contained in:
Valentin Tolmer 2021-08-30 09:49:56 +02:00 committed by nitnelave
parent 40ba65dca7
commit 37f61ce212

View File

@ -204,7 +204,7 @@ impl HostService {
callback: Callback<Result<Box<registration::ServerRegistrationStartResponse>>>,
) -> Result<FetchTask> {
call_server_json_with_error_message(
"/auth/opaque/registration/start",
"/auth/opaque/register/start",
&request,
callback,
"Could not start registration: ",
@ -216,7 +216,7 @@ impl HostService {
callback: Callback<Result<()>>,
) -> Result<FetchTask> {
call_server_empty_response_with_error_message(
"/auth/opaque/registration/finish",
"/auth/opaque/register/finish",
&request,
callback,
"Could not finish registration",