mirror of
https://github.com/h44z/wg-portal.git
synced 2025-08-25 14:31:14 +00:00
fix user_edit template
This commit is contained in:
@@ -78,6 +78,7 @@ func (s *Server) GetAdminUsersEdit(c *gin.Context) {
|
||||
"User": currentSession.FormData.(users.User),
|
||||
"Device": s.peers.GetDevice(currentSession.DeviceName),
|
||||
"DeviceNames": s.wg.Cfg.DeviceNames,
|
||||
"Epoch": time.Time{},
|
||||
})
|
||||
}
|
||||
|
||||
@@ -154,6 +155,7 @@ func (s *Server) GetAdminUsersCreate(c *gin.Context) {
|
||||
"User": currentSession.FormData.(users.User),
|
||||
"Device": s.peers.GetDevice(currentSession.DeviceName),
|
||||
"DeviceNames": s.wg.Cfg.DeviceNames,
|
||||
"Epoch": time.Time{},
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user