add: ability to ip block users from their profile
This commit is contained in:
parent
a799c777ea
commit
0163391380
12 changed files with 241 additions and 20 deletions
|
@ -288,6 +288,14 @@ pub fn routes() -> Router {
|
|||
post(auth::social::accept_follow_request),
|
||||
)
|
||||
.route("/auth/user/{id}/block", post(auth::social::block_request))
|
||||
.route(
|
||||
"/auth/user/{id}/block_ip",
|
||||
post(auth::social::ip_block_profile_request),
|
||||
)
|
||||
.route(
|
||||
"/auth/ip/{id}/unblock_ip",
|
||||
post(auth::social::remove_ip_block_request),
|
||||
)
|
||||
.route(
|
||||
"/auth/user/{id}/settings",
|
||||
post(auth::profile::update_user_settings_request),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue