mirror of
https://github.com/kennethreitz-archive/www.gittip.com.git
synced 2026-06-21 15:50:59 +00:00
31035e3e81
I tested connecting a Bitbucket account to an existing account in both merge and non-merge cases. I need to look at signing in using Bitbucket in the first place, making sure we have links in all the right places.
20 lines
572 B
HTML
20 lines
572 B
HTML
if not user.ANON:
|
|
request.redirect('/%s/' % user.id)
|
|
title = "Sign In"
|
|
^L
|
|
{% extends templates/base.html %}
|
|
{% block box %}
|
|
<div class="as-content">
|
|
|
|
<p>Sign in using
|
|
<a href="{{ twitter.oauth_url(website, u'opt-in', u'/credit-card.html') }}">Twitter</a>,
|
|
<a href="{{ github.oauth_url(website, u'opt-in', u'/credit-card.html') }}">GitHub</a>,
|
|
or
|
|
<a href="{{ bitbucket.oauth_url(website, u'opt-in', u'/credit-card.html') }}">Bitbucket</a>,
|
|
and this page will redirect you to your profile.</p>
|
|
|
|
<p>Thanks! :-)</p>
|
|
|
|
</div>
|
|
{% end %}
|