Merge pull request #1146 from alphagov/session-id

check users' session id.
This commit is contained in:
Leo Hemsted
2017-02-24 14:25:06 +00:00
committed by GitHub
9 changed files with 121 additions and 27 deletions

View File

@@ -13,9 +13,15 @@
{% if again %}
<h1 class="heading-large">You need to sign in again</h1>
<p>
We sign you out if you havent used Notify for a while.
</p>
{% if other_device %}
<p>
We signed you out because you logged in to Notify on another device.
</p>
{% else %}
<p>
We signed you out because you havent used Notify for a while.
</p>
{% endif %}
{% else %}
<h1 class="heading-large">Sign in</h1>
<p>