server,app: Add support for resetting your password with email
Instead of just username Fixes #267
This commit is contained in:
committed by
nitnelave
parent
234cb70b97
commit
e81c87f288
@@ -268,7 +268,7 @@ impl HostService {
|
||||
callback: Callback<Result<()>>,
|
||||
) -> Result<FetchTask> {
|
||||
call_server_empty_response_with_error_message(
|
||||
&format!("/auth/reset/step1/{}", username),
|
||||
&format!("/auth/reset/step1/{}", url_escape::encode_query(username)),
|
||||
yew::format::Nothing,
|
||||
callback,
|
||||
"Could not initiate password reset",
|
||||
|
||||
Reference in New Issue
Block a user