allow basic auth on devices/owner
This commit is contained in:
parent
2abe76c306
commit
c61db2c47d
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ pub fn get_own_profile(user: Auth<false>) -> Ds<Xml<GetOwnProfileData>>{
|
||||||
}
|
}
|
||||||
|
|
||||||
#[get("/v1/api/people/@me/devices/owner")]
|
#[get("/v1/api/people/@me/devices/owner")]
|
||||||
pub fn get_device_owner(user: Auth<false>) -> Ds<Xml<GetOwnProfileData>>{
|
pub fn get_device_owner(user: Auth<true>) -> Ds<Xml<GetOwnProfileData>>{
|
||||||
build_own_profile(user)
|
build_own_profile(user)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue