]> PHS Git Server - phs-admin.git/commitdiff
Separating the revoke client functionality from the main vpn lists.
authorcharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 15:38:14 +0000 (10:38 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Tue, 9 Sep 2025 15:38:14 +0000 (10:38 -0500)
src/app/views/VPN/VPN.jsx

index 059653cbd26a5af6432de69ce565497d7cb0bfda..db1761217a87eb26d186d89876226e96fa4001bb 100644 (file)
@@ -55,6 +55,7 @@ const VPN = () => {
   const handleRevokeClientSubmit = async () => {
     setMessage( await VPNService.revokeClient( { revokeClientName }, fetchClients ) );
     fetchAvailableClients().catch( e => setMessage( e ) );
+    setRevokeOpen( false );
   };
 
   return (