mirror of
				https://github.com/h44z/wg-portal.git
				synced 2025-11-04 08:06:18 +00:00 
			
		
		
		
	Fixed possibility to save clients without preshared key (#114)
This commit is contained in:
		@@ -45,7 +45,7 @@
 | 
			
		||||
                <div class="form-row">
 | 
			
		||||
                    <div class="form-group col-md-12">
 | 
			
		||||
                        <label for="server_PresharedKey">Preshared Key</label>
 | 
			
		||||
                        <input type="text" name="presharedkey" class="form-control" id="server_PresharedKey" value="{{.Peer.PresharedKey}}" required>
 | 
			
		||||
                        <input type="text" name="presharedkey" class="form-control" id="server_PresharedKey" value="{{.Peer.PresharedKey}}">
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
            {{else}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user