Gcr.Prompt.prototype.set_password_new
function set_password_new(new_password: Boolean): void { // Gjs wrapper for gcr_prompt_set_password_new() }
Set whether the prompt will prompt for a new password.
This will cause the prompt implementation to ask the user to confirm the password and/or display other relevant user interface for creating a new password.
- new_password
whether in new password mode or not