Extract the new password from an ALTER USER or SET PASSWORD statement.
(text: str)
| 566 | |
| 567 | |
| 568 | def extract_new_password(text: str) -> str | None: |
| 569 | """Extract the new password from an ALTER USER or SET PASSWORD statement.""" |
| 570 | _, password = classify_sandbox_statement(text) |
| 571 | return password |