method
Store.ResetLoginAttempts
Public method Store.ResetLoginAttempts from github.com/riducms/ridu/adapters/mongodb.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
collectionID | schema.StableID | The collectionID value. |
userID | string | The userID value. |
now | time.Time | The now value. |
Returns
The declared result.
(bool, error)Full signature
func (backend *Store) ResetLoginAttempts(
ctx context.Context,
collectionID schema.StableID,
userID string,
now time.Time,
) (bool, error)