changeset 1545:97bf8559829a

fix wrong cookie call in <su otheruser> functionality
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 14 Sep 2006 14:32:36 +0200
parents b9e4f2a88b64
children 27093deecd9f
files MoinMoin/userform.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/userform.py	Wed Sep 13 19:10:41 2006 +0200
+++ b/MoinMoin/userform.py	Thu Sep 14 14:32:36 2006 +0200
@@ -163,7 +163,7 @@
                 theuser.disabled = None
                 theuser.save()
                 from MoinMoin import auth
-                auth.setCookie(self.request, theuser)
+                auth.setSessionCookie(self.request, theuser)
                 self.request.user = theuser
                 return  _("Use UserPreferences to change settings of the selected user account")
             else: