diff --git a/src/templates/errors/403_embed.pug b/src/templates/errors/403_embed.pug index 4b4b9a02..a9e55a72 100644 --- a/src/templates/errors/403_embed.pug +++ b/src/templates/errors/403_embed.pug @@ -1,3 +1,4 @@ +| {% set login_url = url_for('users.login', next=request.url) %} #error-container.error-403 #error-box .error-top-container @@ -23,7 +24,7 @@ | {% else %} p - a(href="{{ url_for('users.login') }}") Login + a(href="{{ login_url }}") Login | {% endif %} .error-lead.extra