
Q: How login.

A: Via webform or HTTP Digest RFC 7616

Requires:
- ban ->00007
- auth ->00005

Implementation:

Shaarli-compliant in url, form fields and response behaviour.

GET /seppo.cgi?do=login

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type='text/xsl' href='./themes/current/do=login.xslt'?>
<!--
  A Shaarli-compatible clear-text password login.

  Must be compatible with https://code.mro.name/mro/Shaarli-API-test/src/master/tests/test-post.sh
  https://code.mro.name/mro/ShaarliOS/src/1d124e012933d1209d64071a90237dc5ec6372fc/ios/ShaarliOS/API/ShaarliCmd.m#L386
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>My Seppo</title></head>
<body>
  <form method="post" name="loginform">
    <input type="text" name="login" />
    <input type="password" name="password" />
    <input type="submit" value="Login" />
    <input type="checkbox" name="longlastingsession" />
    <input type="hidden" name="token" value="ff13e7eaf9541ca2ba30fd44er64c3ff014d2bc9" />
    <input type="hidden" name="returnurl" value="" />
  </form>
</body>
</html>

