save

open override fun save(entity: UserCredentials)

Saves a new UserCredentials entity to the repository.

This method resets the loginAttempts, lastLogin, and lockedUntil fields to their default values.

Parameters

entity

The UserCredentials entity to be saved.