-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call to undefined method OCA\User_SAML\UserBackend::checkPassword() #826
Comments
@Alakadoo can you check your nextcloud.log for this error? Hopefully there is some backtrace included. |
Same here Complete Errormessage: |
Same here. If I try to log in with my email address, I will get the following output.
If I try to log in with my username, everything works fine. However, if I input a wrong username or wrong password, I receive an internal server error message. It does not indicate something like a wrong password or user not found. |
I've been getting these errors in my nextcloud.log file. These began on 3/23. Analyzing the logs, there were 485 occurrences between 3/23 and 3/24. Between 3/24-3/28 there have been 161,787 occurrences of the same error. Unlike the other reports here which show the URL as /login, my errors appear to be from the webdav app and the URL is remote.php. This is the latest log entry: I've been getting these errors in my nextcloud.log file. These began on 3/23. Analyzing the logs, there were 485 occurrences between 3/23 and 3/24. Between 3/24-3/28 there have been 161,787 occurrences of the same error. Unlike the other reports here which show the URL as /login, my errors appear to be from the webdav app and the URL is remote.php. This is the latest log entry:
|
Same issue here. NextCloud client is not connecting anymore... This method has been removed in 6.1.2 version of app user_saml public function checkPassword($uid, $password) {
$qb = $this->db->getQueryBuilder();
$qb->select('token')
->from('user_saml_auth_token')
->where($qb->expr()->eq('uid', $qb->createNamedParameter($uid)))
->setMaxResults(1000);
$result = $qb->execute();
$data = $result->fetchAll();
$result->closeCursor();
foreach ($data as $passwords) {
if (password_verify($password, $passwords['token'])) {
return $uid;
}
}
return false; |
Fix candidate in #829 |
Thank you, that worked for me. |
Well now I have another error, this time with impact :
[webdav] Erreur: Call to undefined method OCA\User_SAML\UserBackend::checkPassword()
PROPFIND /remote.php/dav/files/admin/
de 10.97.50.2 par -- à 21 mars 2024, 15:15:27
Impact is nextcloud windows client can no longer connect. I have the last stable version 3.12.2.
Originally posted by @Alakadoo in #825 (comment)
The text was updated successfully, but these errors were encountered: