mirror of
https://github.com/github/codeql.git
synced 2026-06-10 15:31:12 +02:00
8 lines
301 B
Java
8 lines
301 B
Java
// BAD: `password` is exposed in a notification.
|
|
void confirmPassword(String password) {
|
|
NotificationManager manager = NotificationManager.from(this);
|
|
manager.send(
|
|
new Notification.Builder(this, CHANNEL_ID)
|
|
.setContentText("Your password is: " + password)
|
|
.build());
|
|
} |