mirror of
https://github.com/h44z/wg-portal.git
synced 2025-10-14 12:06:16 +00:00
Remove as in https://github.com/h44z/wg-portal/issues/112
This commit is contained in:
@@ -423,7 +423,6 @@ func (s *Server) PostUserCreatePeer(c *gin.Context) {
|
||||
formPeer.Email = currentSession.Email;
|
||||
formPeer.Identifier = currentSession.Email;
|
||||
formPeer.DeviceType = wireguard.DeviceTypeServer;
|
||||
formPeer.PrivateKey = "";
|
||||
|
||||
if err := c.ShouldBind(&formPeer); err != nil {
|
||||
_ = s.updateFormInSession(c, formPeer)
|
||||
|
Reference in New Issue
Block a user