Chore Account server

Check-in [105e6cf694]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Track chore changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:105e6cf694c6ac0470ba2a936406394b214b32b2b479d1c88cd41256cc030327
User & Date: vandyswa@gmail.com 2018-04-27 03:52:29
Context
2018-05-09
22:07
Log update of accounts file Leaf check-in: 234d492f35 user: ajv-899-334-8894@vsta.org tags: master, trunk
2018-04-27
03:52
Track chore changes check-in: 105e6cf694 user: vandyswa@gmail.com tags: master, trunk
2016-11-30
22:48
Make UDS group protection friendly check-in: a1cb0fe2a0 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to main.py.

223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
            # And send back registration success
            self.reply("OK", req)
            return

        # Check cookie
        if op == "cookie?":
            # Correct format?
            tup = chore.authen.parse_cookie(req.get("cookie", "XXX"))
            if tup is None:
                self.reply("?format", req)
                return

            # Ok cookie value?  Have an account?
            # Ok account name?  (Don't ever let template names
            #  get treated as real accounts.)







|







223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
            # And send back registration success
            self.reply("OK", req)
            return

        # Check cookie
        if op == "cookie?":
            # Correct format?
            tup = chore.authen.do_parse_cookie(req.get("cookie", "XXX"))
            if tup is None:
                self.reply("?format", req)
                return

            # Ok cookie value?  Have an account?
            # Ok account name?  (Don't ever let template names
            #  get treated as real accounts.)