Skip to content

Commit eaa51a8

Browse files
authored
Merge pull request authlib#573 from eruvanos/fix-flask-example
2 parents 27c6425 + f5e411a commit eaa51a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/client/flask.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Routes for Authorization
108108
Unlike the examples in :ref:`frameworks_clients`, Flask does not pass a ``request``
109109
into routes. In this case, the routes for authorization should look like::
110110

111-
from flask import url_for, render_template
111+
from flask import url_for, redirect
112112

113113
@app.route('/login')
114114
def login():

0 commit comments

Comments
 (0)