aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
Diffstat (limited to 'uploader')
-rw-r--r--uploader/authorisation.py2
-rw-r--r--uploader/oauth2/views.py2
-rw-r--r--uploader/templates/base.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/uploader/authorisation.py b/uploader/authorisation.py
index bd3454c..a283980 100644
--- a/uploader/authorisation.py
+++ b/uploader/authorisation.py
@@ -18,7 +18,7 @@ def require_login(function):
"""Check that the user is logged in and their token is valid."""
def __clear_session__(_no_token):
session.clear_session_info()
- flash("You need to be logged in.", "alert-danger big-alert")
+ flash("You need to be signed in.", "alert-danger big-alert")
return redirect("/")
return session.user_token().either(
diff --git a/uploader/oauth2/views.py b/uploader/oauth2/views.py
index 61037f3..a7211cb 100644
--- a/uploader/oauth2/views.py
+++ b/uploader/oauth2/views.py
@@ -116,7 +116,7 @@ def logout():
_user = session_info["user"]
_user_str = f"{_user['name']} ({_user['email']})"
session.clear_session_info()
- flash("Successfully logged out.", "alert-success")
+ flash("Successfully signed out.", "alert-success")
return redirect("/")
if user_logged_in():
diff --git a/uploader/templates/base.html b/uploader/templates/base.html
index a08c3e5..9cd4cee 100644
--- a/uploader/templates/base.html
+++ b/uploader/templates/base.html
@@ -32,10 +32,10 @@
<a href="{{url_for('oauth2.logout')}}"
title="Log out of the system">
<span class="glyphicon glyphicon-user"></span>
- Log Out</a>
+ Sign Out</a>
{%else%}
<a href="{{authserver_authorise_uri()}}"
- title="Log in to the system">Log In</a>
+ title="Log in to the system">Sign In</a>
{%endif%}
</li>
</ul>