chore: 🤖 auto-dismiss auth error notifications (#1384)
* chore: 🤖 auto-dismiss auth error notifications * chore: 🤖 apply login error auto-dismiss to desktop * Update addons/core/addon/decorators/notify.js Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com> * chore: 🤖 explain sticky defaulting Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com> Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
This commit is contained in:
3 files changed
+24
-5
No files matched your search
@@ -47,7 +47,10 @@ export default class ScopesScopeAuthenticateMethodRoute extends Route {
|
||||
*/
|
||||
@action
|
||||
@loading
|
||||
@notifyError(() => 'errors.authentication-failed.title', { catch: true })
|
||||
@notifyError(() => 'errors.authentication-failed.title', {
|
||||
sticky: false,
|
||||
catch: true,
|
||||
})
|
||||
async authenticate(creds) {
|
||||
const scope = this.modelFor('scopes.scope');
|
||||
const authMethod = this.modelFor('scopes.scope.authenticate.method');
|
||||
|
||||
Reference in new issue
Block a user