Renames AUTH_MDP to AUTH_PASSWD (Closes #1523).
[platal.git] / modules / register.php
index 83169e8..d2825dd 100644 (file)
@@ -381,7 +381,7 @@ class RegisterModule extends PLModule
 
         // Try to start a session (so the user don't have to log in); we will use
         // the password available in Post:: to authenticate the user.
-        Platal::session()->start(AUTH_MDP);
+        Platal::session()->start(AUTH_PASSWD);
 
         // Subscribe the user to the services she did request at registration time.
         require_once 'newsletter.inc.php';