Can set recovery key of user
This commit is contained in:
@@ -106,6 +106,10 @@ async fn main() -> std::io::Result<()> {
|
||||
"/api/matrix_link/logout",
|
||||
web::post().to(matrix_link_controller::logout),
|
||||
)
|
||||
.route(
|
||||
"/api/matrix_link/set_recovery_key",
|
||||
web::post().to(matrix_link_controller::set_recovery_key),
|
||||
)
|
||||
})
|
||||
.workers(4)
|
||||
.bind(&AppConfig::get().listen_address)?
|
||||
|
||||
Reference in New Issue
Block a user