[odrs-web] Do not use flask.ext.login
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web] Do not use flask.ext.login
- Date: Wed, 31 Jan 2018 12:11:39 +0000 (UTC)
commit 5cc649253b8e59e1f10a99c8d5617dcdb55bd2f1
Author: Richard Hughes <richard hughsie com>
Date: Thu Jul 6 13:53:26 2017 +0100
Do not use flask.ext.login
flaskapp.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/flaskapp.py b/flaskapp.py
index 626b221..ab2edc3 100755
--- a/flaskapp.py
+++ b/flaskapp.py
@@ -6,8 +6,8 @@
import os
from flask import Flask, request, url_for, redirect, flash, render_template, send_from_directory, abort
-from flask.ext.login import LoginManager
-from flask.ext.login import login_required, login_user, logout_user
+from flask_login import LoginManager
+from flask_login import login_required, login_user, logout_user
from api10 import api as api10
from admin import admin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]