mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 02:03:39 +00:00
[PM-16171] Simplelogin alias generation only generate random words instead the domain name (#13024)
* Exposes URI property from the cipher form. * Updates credential generator to accept the URI using a `website` attribute --------- Co-authored-by: ✨ Audrey ✨ <audrey@audreyality.com>
This commit is contained in:
@@ -9,6 +9,7 @@ export abstract class CipherFormGenerationService {
|
||||
|
||||
/**
|
||||
* Generates a random username. Called when the user clicks the "Generate Username" button in the UI.
|
||||
* @param uri The URI associated with the username generation request.
|
||||
*/
|
||||
abstract generateUsername(): Promise<string | null>;
|
||||
abstract generateUsername(uri: string): Promise<string | null>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user