From 109d3f28a21eea1397cba27fba6b2ab3bf0f356a Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 23 Oct 2022 16:35:24 +0200 Subject: [PATCH] Fixed revoke jwt #70 --- kdb-bot/src/bot_data/model/auth_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdb-bot/src/bot_data/model/auth_user.py b/kdb-bot/src/bot_data/model/auth_user.py index 3025174883..262986666b 100644 --- a/kdb-bot/src/bot_data/model/auth_user.py +++ b/kdb-bot/src/bot_data/model/auth_user.py @@ -236,7 +236,7 @@ class AuthUser(TableABC): `EMail` = '{self._email}', `Password` = '{self._password}', `PasswordSalt` = '{self._password_salt}', - `RefreshToken` = '{self._refresh_token}', + `RefreshToken` = '{"NULL" if self._refresh_token is None else self._refresh_token}', `ConfirmationId` = '{"NULL" if self._confirmation_id is None else self._confirmation_id}', `ForgotPasswordId` = '{"NULL" if self._forgot_password_id is None else self._forgot_password_id}', `OAuthId` = '{"NULL" if self._oauth_id is None else self._oauth_id}',