diff --git a/web/templates/login.html b/web/templates/login.html
index cfc7a55..91bab74 100755
--- a/web/templates/login.html
+++ b/web/templates/login.html
@@ -54,7 +54,7 @@
Facebook
Sign in using
Google+
- {{ link }}
+ {{ link }}
diff --git a/web/webViews/authenticate/login.py b/web/webViews/authenticate/login.py
index bdf728f..d54e70d 100755
--- a/web/webViews/authenticate/login.py
+++ b/web/webViews/authenticate/login.py
@@ -40,10 +40,12 @@ class loginView(normalView):
#refreshInfo()
return redirect(request.args.get('next',None) or '/dashboard/')
if (env.getenv('EXTERNAL_LOGIN') == 'True'):
+ url = external_generate.external_login_url
link = external_generate.external_login_link
else:
link = ''
- return render_template(self.template_path, link = link)
+ url = ''
+ return render_template(self.template_path, link = link, url = url)
@classmethod
def post(self):