mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
@@ -49,6 +49,8 @@ final class UserPassRecover extends BaseRepository implements UserPassRecoverRep
|
||||
* @param int $time
|
||||
*
|
||||
* @return int
|
||||
* @throws ConstraintException
|
||||
* @throws QueryException
|
||||
*/
|
||||
public function getAttemptsByUserId(int $userId, int $time): int
|
||||
{
|
||||
@@ -121,6 +123,8 @@ final class UserPassRecover extends BaseRepository implements UserPassRecoverRep
|
||||
* @param int $time
|
||||
*
|
||||
* @return QueryResult<T>
|
||||
* @throws ConstraintException
|
||||
* @throws QueryException
|
||||
*/
|
||||
public function getUserIdForHash(string $hash, int $time): QueryResult
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user