another fix for identity folder use

This commit is contained in:
tjp 2024-01-10 11:56:35 -07:00
parent 01e024bc49
commit b7da3dc23d
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ func IdentityUseFolder(state *BrowserState, name string, domain string) error {
return err
}
u.Path = strings.TrimRight(u.Path, "/")
state.Identities.ByFolder[u.Hostname()+u.Path] = ident
return saveIdentities(state.Identities)
}