Added OpenID example
This commit is contained in:
parent
67fc465262
commit
bc0c0559e3
9 changed files with 390 additions and 0 deletions
22
examples/openidexample/templates/create_profile.html
Normal file
22
examples/openidexample/templates/create_profile.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block title %}Create Profile{% endblock %}
|
||||
{% block body %}
|
||||
<h2>Create Profile</h2>
|
||||
<p>
|
||||
Hey! This is the first time you signed in on this website. In
|
||||
order to proceed we need a couple of more information from you:
|
||||
<form action="" method=post>
|
||||
<dl>
|
||||
<dt>Name:
|
||||
<dd><input type=text name=name size=30 value="{{ request.form.name }}">
|
||||
<dt>E-Mail
|
||||
<dd><input type=text name=email size=30 value="{{ request.form.email }}">
|
||||
</dl>
|
||||
<p>
|
||||
<input type=submit value="Create profile">
|
||||
<input type=hidden name=next value="{{ next_url }}">
|
||||
</form>
|
||||
<p>
|
||||
If you don't want to proceed, you can <a href="{{ url_for('logout')
|
||||
}}">sign out</a> again.
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue