Skip to content
Snippets Groups Projects

Resolve "Allow CLI to set password"

1 file
+ 4
2
Compare changes
  • Side-by-side
  • Inline
+ 4
2
@@ -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
"""
Loading