The Login Form has two parts: Login and Logout. <form action="${pt%rt}index.htm" method="post"> <bee:access> Logged in as ${sys%auth:loginname}<br> <input type=submit class=button name=Submit value=Logout> <bee:else> Username: <input class=field size=12 type=text name=username><br> Password: <input class=field size=12 type=password name=password> <input type=submit class=button name=Submit value=Login> </bee:access> <span class=error>${pt%AuthMessage}</span> </form>
If you want the user to go to a particular page right after logging in, you may add a line after the <bee:else> line: <input type=hidden name=submitredirectto value="${pt%rt}path/page.htm">
Of course, you can format the form to make it look nice.
|