diff --git a/login/models.py b/login/models.py index f69d75abc0ccc0ba627d0856d5321e28b42220ec..502b710663704a7b374c5bd96930318841a5e576 100644 --- a/login/models.py +++ b/login/models.py @@ -129,9 +129,11 @@ class User(db.Model): @staticmethod def extract_cookies(cookies): - """Extract required session cookies our of cookie array - Given an cookie array, iterate over the array and extrat the session + """Extract session and CSRF cookie from a list of cookies. + + Iterate over a list of cookies and extract the session cookies required for Kratos User Panel UI + :param: cookies List of cookies :return: string Cookies as string """