mirror of
https://github.com/status-im/status-go.git
synced 2025-02-01 17:38:36 +00:00
feat: verify password function exposed via api
This commit is contained in:
parent
4814de562f
commit
655a406b0c
@ -305,3 +305,11 @@ func (api *API) generateAccount(
|
||||
|
||||
return api.SaveAccounts(ctx, []*accounts.Account{acc})
|
||||
}
|
||||
|
||||
func (api *API) VerifyPassword(password string) bool {
|
||||
err := api.verifyPassword(password)
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user