Compare commits

..

1 commit

Author SHA1 Message Date
Philipp Rothmann
35a4f29f07 add authentik api get users 2022-11-08 09:55:05 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -178,7 +178,7 @@ class KratosUser():
cookie_csrf = None
cookie_session = None
for cookie in cookies:
search = re.match(r'`ory_kratos_session`=([^;]*);.*$', cookie)
search = re.match(r'ory_kratos_session=([^;]*);.*$', cookie)
if search:
cookie_session = "ory_kratos_session=" + search.group(1)
search = re.match(r'(csrf_token[^;]*);.*$', cookie)

View file

@ -26,7 +26,7 @@ export const signIn = (params: string) =>
);
export function signOut() {
return async (dispatch: any) => {
return (dispatch: any) => {
dispatch(signOutAction());
};
}