|
@@ -204,7 +204,7 @@ func (this *Modules) RegisterModule_Users() *Module {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-func (this *Modules) RegisterAction_CpAddModifyUser() *Action {
|
|
|
+func (this *Modules) RegisterAction_UsersModify() *Action {
|
|
|
return this.newAction(AInfo{
|
|
|
WantDB: true,
|
|
|
Mount: "users-modify",
|
|
@@ -317,3 +317,13 @@ func (this *Modules) RegisterAction_CpAddModifyUser() *Action {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+func (this *Modules) RegisterAction_UsersDelete() *Action {
|
|
|
+ return this.newAction(AInfo{
|
|
|
+ WantDB: true,
|
|
|
+ Mount: "users-delete",
|
|
|
+ WantAdmin: true,
|
|
|
+ }, func(wrap *wrapper.Wrapper) {
|
|
|
+ // pf_id := wrap.R.FormValue("id")
|
|
|
+ })
|
|
|
+}
|