Commit 06f3a63e authored by Brendan's avatar Brendan

#188 use confirmText in web component

parent ea5e8da9
Pipeline #38416280 failed with stage
in 7 minutes and 39 seconds
......@@ -14,11 +14,7 @@ export class ForgotLearnMoreComponent {
@Output() logOut = new EventEmitter();
onLogOut() {
if (
window.confirm(
"Please confirm that you have your backup code ready before logging out."
)
) {
if (window.confirm(this.confirmText)) {
this.logOut.emit();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment