Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: viste <[email protected]>
  • Loading branch information
Viste committed Aug 20, 2024
1 parent d7280b7 commit 677f766
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ def reset_password_token(token):
return redirect(url_for('login'))
return render_template('auth/reset_password_token.html')

@app.route('/login/vk')
def login_vk():
redirect_uri = url_for('authorize_vk', _external=True)
return vk.authorize_redirect(redirect_uri)
#@app.route('/login/vk')
#def login_vk():
# redirect_uri = url_for('authorize_vk', _external=True)
# return vk.authorize_redirect(redirect_uri)

@app.route('/login/vk')
def login_vk():
Expand Down

0 comments on commit 677f766

Please sign in to comment.