[android-components](../../index.md) / [mozilla.components.concept.storage](../index.md) / [LoginStorageDelegate](index.md) / [onLoginSave](./on-login-save.md)

# onLoginSave

`abstract fun onLoginSave(login: `[`Login`](../-login/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/storage/src/main/java/mozilla/components/concept/storage/LoginsStorage.kt#L113)

Called when a [login](on-login-save.md#mozilla.components.concept.storage.LoginStorageDelegate$onLoginSave(mozilla.components.concept.storage.Login)/login) should be saved or updated.

