nb de tels variables par adresse, wish 400
[platal.git] / plugins / pmwiki.platalAuth.php
index cbff96a..d674b36 100644 (file)
@@ -141,7 +141,7 @@ function AuthPlatal($pagename, $level, $authprompt, $since)
     $panel .= ">><<\n";
     $panel .= "{/if}\n";
   
-    if (((identifed() && has_perms()) || authPerms($pagename, $passwds[$level]))
+    if ((identified() && has_perms()) || authPerms($pagename, $passwds[$level]))
     {
         $page_read['=passwd'] = $passwds;
         $page_read['=pwsource'] = $pwsources;
@@ -160,11 +160,11 @@ function AuthPlatal($pagename, $level, $authprompt, $since)
     // maybe it is because he is not identified
     if ($authprompt && !identified())
     {
-        new_skinned_page('wiki.tpl', AUTH_MDP); 
+        new_identification_page(); 
     }
 
     global $page;
-    new_skinned_page('', AUTH_MDP); 
+    new_identification_page();
     if (has_perms()) {
         $page->trig('Erreur : page Wiki inutilisable sur plat/al');
     } else {