mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
LibCore: Change Account::set_password to take a SecretString
This matches the API of Account::authenticate. The only caller to this API is the passwd utility, which already has the new password stored as a SecretString.
This commit is contained in:
parent
fcff6b7160
commit
4739982c66
Notes:
sideshowbarker
2024-07-18 02:10:05 +09:00
Author: https://github.com/trflynn89
Commit: 4739982c66
Pull-request: https://github.com/SerenityOS/serenity/pull/10538
3 changed files with 4 additions and 4 deletions
|
@ -121,7 +121,7 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
target_account.set_password(new_password.value().characters());
|
||||
target_account.set_password(new_password.value());
|
||||
}
|
||||
|
||||
if (pledge("stdio wpath rpath cpath fattr", nullptr) < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue