Name the openid field "openid_identifier". #258
[zzz-spline-users.git] / spline / plugins / users / templates / users / login.mako
1 <%inherit file="/base.mako" />
2 <%def name="title()">Log in</%def>
3
4 <h1>Log in with OpenID</h1>
5
6 % if c.error:
7 <p class="error">${c.error}</p>
8 % endif
9
10 ${h.form(url(controller='accounts', action='login_begin'), id='user')}
11     <img src="${h.static_uri('spline', 'icons/openid.png')}">
12     <input type="text" name="openid_identifier" size="30" value="${c.attempted_openid or ''}">
13     <input type="submit" value="Log in">
14 ${h.end_form()}
15
16
17 <h1>Oh my god what is this I am so confused</h1>
18
19 <p>Sorry!  Let me explain real quick.</p>
20
21 <p>Instead of having to register with a username and password on every site, the idea of <a href="https://openid.net/">OpenID</a> is that you register on <em>one</em> site, and then use <em>that</em> to log in everywhere else.</p>
22
23 <p>You don't need a separate ID card for everything you do in real life, because you can show a government ID, and the government confirms that they already know who you are.  This is pretty much the same thing.</p>
24
25 <p>Enter the URL to a site you own in the login box, and I'll go ask that site if it knows who you are.  (Most sites will also ask you to confirm that you want to login here.)  If it says yes, you're logged in here.</p>
26
27 <p>There's no registration, either; just log in, and you'll be registered.</p>
28
29 <p>Here are some common sites that support OpenID login:</p>
30
31 <dl>
32     <dt>LiveJournal</dt>
33     <dd>http://<code>username</code>.livejournal.com/</dd>
34     <dt>AOL/AIM</dt>
35     <dd>http://openid.aol.com/<code>screenname</code></dd>
36     <dt>Blogger</dt>
37     <dd>http://<code>blogname</code>.blogspot.com/</dd>
38     <dt>Flickr</dt>
39     <dd>http://www.flickr.com/<code>username</code></dd>
40     <dt>Yahoo!</dt>
41     <dd>http://www.yahoo.com/</dd>
42     <dt>Google</dt>
43     <dd>
44         http://www.google.com/accounts/o8/id <br>
45         You can also use http://www.google.com/profiles/<code>username</code>, but first you have to enable it at the bottom of <a href="http://www.google.com/profiles/me/editprofile?edit=t">this page</a>.
46     </dd>
47 </dl>
48
49 <p>Yeah, Yahoo! and Google are kinda weird.  Wikipedia has a <a href="http://en.wikipedia.org/wiki/List_of_OpenID_providers">more comprehensive list</a>.</p>
50
51 <p>If you don't use any of these sites, you can also get a login from a <a href="http://openid.net/get-an-openid">dedicated OpenID provider</a>.</p>