open-consul/ui-v2/app/components/auth-form
John Cowen 85540ca829 ui: Blink/Webkit input[type=password] workaround (#7929)
It seems that blink/webkit browsers at least will leak memory when using
input[type=password] inputs. This only affects us during testing as we
'refresh' the ember app ~1000 times without actually refreshing
the browser. This means references to these HTML input elements mount
up now that every single page/test has an input[password] on it.

Following this change our memory usage during testing seems to have
reduced by as much as 75%.

During normal usage the single password element is only added to the
page once per login/logout.
2020-06-03 16:46:43 +00:00
..
chart.xstate.js UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
index.hbs ui: Blink/Webkit input[type=password] workaround (#7929) 2020-06-03 16:46:43 +00:00
index.js ui: Blink/Webkit input[type=password] workaround (#7929) 2020-06-03 16:46:43 +00:00
README.mdx UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00

## AuthForm

```handlebars
<AuthForm as |api|></AuthForm>
```

### Methods/Actions/api

| Method/Action |  Description |
| --- | --- |
| `reset` | Reset the form back to its original empty/non-error state |

### See

- [Component Source Code](./index.js)
- [Template Source Code](./index.hbs)

---