fix(auth): remove unnecessary key deletion
Some checks failed
ci / ci (push) Failing after 0s

Removed redundant key deletion step to streamline the login process. The key deletion was causing unnecessary overhead and potential issues during user login. This change improves the efficiency and reliability of user authentication.
This commit is contained in:
Kumi 2024-06-25 22:01:58 +02:00
parent a757e87eff
commit 362daf94c1
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -169,8 +169,6 @@ class auth_plugin_jwt extends auth_plugin_base {
}
}
$this->jwtmanager->delete_keys($key->userid);
$user = get_complete_user_data('id', $key->userid);
complete_user_login($user);