i'm not deep into the details of Elements, but gen...
# talk-kratos
f
i'm not deep into the details of Elements, but generally your login flow should have an AAL2 set. this piece is actually buggy:
``` !(flow.refresh || flow.requested_aal === 'aal2')
? 'Sign In'
: 'Two-Factor Authentication'```
and we recently fixed it for Account Experience (but not sure if we fixed all places in elements) - when flow.refresh is true, the message should be "please confirm that it's you", not "two factor auth"