mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 17:56:38 +00:00
view devices for profile
This commit is contained in:
@@ -758,11 +758,24 @@ authenticated.delete(
|
||||
// createNewt
|
||||
// );
|
||||
|
||||
// only for logged in user
|
||||
authenticated.put(
|
||||
"/olm",
|
||||
olm.createOlm
|
||||
);
|
||||
|
||||
// only for logged in user
|
||||
authenticated.get(
|
||||
"/olms",
|
||||
olm.listOlms
|
||||
);
|
||||
|
||||
// only for logged in user
|
||||
authenticated.delete(
|
||||
"/olm/:olmId",
|
||||
olm.deleteOlm
|
||||
);
|
||||
|
||||
authenticated.put(
|
||||
"/idp/oidc",
|
||||
verifyUserIsServerAdmin,
|
||||
|
||||
Reference in New Issue
Block a user