Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nul800sebastiaan/f5276df17922dc84dfb79cb86ac8306c to your computer and use it in GitHub Desktop.
Save nul800sebastiaan/f5276df17922dc84dfb79cb86ac8306c to your computer and use it in GitHub Desktop.
Fix "Link to account" button in Umbraco 7.4.x
<form ng-if="login.linkedProviderKey == undefined" method="POST" name="externalLoginForm"
action="{{externalLinkLoginFormAction}}" id="oauthloginform" name="oauthloginform">
<input type="hidden" name="provider" value="{{login.authType}}" />
<button class="btn btn-block btn-social"
ng-class="login.properties.SocialStyle"
id="{{login.authType}}"
onclick="document.forms.oauthloginform.submit();">
<i class="fa" ng-class="login.properties.SocialIcon"></i>
Link your {{login.caption}} account
</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment