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:
parent
a757e87eff
commit
362daf94c1
1 changed files with 0 additions and 2 deletions
2
auth.php
2
auth.php
|
@ -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);
|
$user = get_complete_user_data('id', $key->userid);
|
||||||
complete_user_login($user);
|
complete_user_login($user);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue