Hi, I'm currently trying to integrate the SessionCredentialsPlugin with z3c.pagelets / z3c.form. I currently set up a simple z3c.form-based login page and configured the loginfield/passwordfield to "form.widgets.login/password". Now I can login, but I still have some problems:
1) I'd like to be redirected to the login field when the user accesses unauthorized pages. This seems not to work as there is the following error: TypeError: There isn't enough context to get URL information. This is probably due to a bug in setting up location information. Moreover, I'd like to redirect the user to the original page, would I implement this in the form's update() method or somewhere else? 2) I'd like to display some error in the login page, e.g. "incorrect login/password combination" in case the user enters invalid data - how could this be handled? 3) How could I implement a logout button/page? Best Regards, Hermann -- [EMAIL PROTECTED] GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7 _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users