Add session timeout warning

This commit is contained in:
Khanh Ngo
2019-12-17 23:46:34 +07:00
parent ea8531dd3c
commit 9a1b92fbc2
6 changed files with 170 additions and 43 deletions

View File

@ -82,6 +82,12 @@ def index():
return redirect(url_for('dashboard.dashboard'))
@index_bp.route('/ping', methods=['GET'])
@login_required
def ping():
return make_response('ok')
@index_bp.route('/google/login')
def google_login():
if not Setting().get('google_oauth_enabled') or google is None: