* Handles the enroll button click.
()
| 223 | * Handles the enroll button click. |
| 224 | */ |
| 225 | function onEnrollClick() { |
| 226 | if (auth.currentUser) { |
| 227 | auth.currentUser |
| 228 | .reload() |
| 229 | .then(function () { |
| 230 | showMfaDialog(); |
| 231 | }) |
| 232 | .catch(displayError); |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * Displays the multi-factor dialog. |
nothing calls this directly
no test coverage detected