You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-12-09 23:32:14 +02:00
implementing user listing and role changing
This commit is contained in:
@@ -66,7 +66,7 @@ export class UserRouter{
|
||||
|
||||
|
||||
private addListUsers() {
|
||||
this.app.post("/api/user/list",
|
||||
this.app.get("/api/user/list",
|
||||
AuthenticationMWs.authenticate,
|
||||
AuthenticationMWs.authorise(UserRoles.Admin),
|
||||
UserMWs.listUsers,
|
||||
|
||||
Reference in New Issue
Block a user