diff --git a/prive/login.html b/prive/login.html
index 8c23cfb659fe212bbca265c62b0c4b63a22bec1c..c3c74a76c15ecaceea1dab336043a5b936def524 100644
--- a/prive/login.html
+++ b/prive/login.html
@@ -24,13 +24,11 @@ jQuery('a#spip_pass').click(function(){window.open(this.href, 'spip_pass', 'scro
 <div id="minipres">
 
 	<h1>#NOM_SITE_SPIP</h1>
-	
 	[(#REM)
 		Est-ce qu'on se connecte a l'espace prive ou pas ?
 	][
-	(#ENV**{url}|=={''}
-	|?{' ',[(#ENV**{url}|match{^#EVAL{_DIR_RESTREINT_ABS}}
-		|?{' '})]})
+	(#ENV**{url}|non
+	|ou{[(#ENV**{url}|match{^(/.*/)?#EVAL{_DIR_RESTREINT_ABS}})]})
 	<h3 class="spip"><:login_acces_prive:></h3>
 	]
 	#MENU_LANG_ECRIRE