Commit c865e875 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Document submitLogin()


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@44963 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 445cccd6
...@@ -488,7 +488,12 @@ class MainForm(Form): ...@@ -488,7 +488,12 @@ class MainForm(Form):
def submitLogin(self): def submitLogin(self):
""" """
Log into ERP5 using the username and password provided in the browser. Log into ERP5 using the username and password provided in the
browser. It is assumed that the current page is the login page (by
calling C{open('login_form')} beforehand).
This method should rarely be used by scripts as login is already
performed upon instanciation of Browser class.
@raise LoginError: Login failed @raise LoginError: Login failed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment