Skip to content

A platform for community discussion. Free, open, simple.

REFACTOR: clean-up webauthn mobile view

Jeff Wongdbb33f08a90e
diff --git a/app/assets/javascripts/discourse/templates/mobile/modal/login.hbs b/app/assets/javascripts/discourse/templates/mobile/modal/login.hbs
index 49ac40cbc57..25fbf9bb0d6 100644
--- a/app/assets/javascripts/discourse/templates/mobile/modal/login.hbs
+++ b/app/assets/javascripts/discourse/templates/mobile/modal/login.hbs
@@ -72,11 +72,11 @@
icon="unlock"
label=loginButtonLabel
disabled=loginDisabled
- class="btn btn-large btn-primary"}}
+ class="btn-large btn-primary"}}
{{/unless}}
{{#if showSignupLink}}
- {{#d-button class="btn btn-large" id="new-account-link" action=(route-action "showCreateAccount")}}
+ {{#d-button class="btn-large" id="new-account-link" action=(route-action "showCreateAccount")}}
{{i18n "create_account.title"}}
{{/d-button}}
{{/if}}
diff --git a/app/assets/javascripts/discourse/templates/preferences-second-factor.hbs b/app/assets/javascripts/discourse/templates/preferences-second-factor.hbs
index 1b6bb0dd1cc..65100cf2262 100644
--- a/app/assets/javascripts/discourse/templates/preferences-second-factor.hbs
+++ b/app/assets/javascripts/discourse/templates/preferences-second-factor.hbs
@@ -149,7 +149,7 @@
<div class="controls" style="margin-top: 5px">
{{resetPasswordProgress}}
{{#unless resetPasswordLoading}}
- <a href="" class="instructions" {{action "resetPassword"}}>{{ i18n 'user.second_factor.forgot_password' }}</a>
+ <a href class="instructions" {{action "resetPassword"}}>{{ i18n 'user.second_factor.forgot_password' }}</a>
{{/unless}}
</div>
</div>