forked from orbit-oss/flask
Added OpenID example
This commit is contained in:
parent
67fc465262
commit
bc0c0559e3
9 changed files with 390 additions and 0 deletions
10
examples/openidexample/templates/index.html
Normal file
10
examples/openidexample/templates/index.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
<h2>Overview</h2>
|
||||
{% if g.user %}
|
||||
<p>
|
||||
Hello {{ g.user.name }}!
|
||||
{% endif %}
|
||||
<p>
|
||||
This is just an example page so that something is here.
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue