BUGFIX: Login page always had demo details
This commit is contained in:
parent
2db4454781
commit
5b5eff0221
|
@ -39,7 +39,7 @@
|
|||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
||||
<button type="submit" class="mb-3 btn btn-outline-primary">{{ 'security.login.submit-btn.label' | trans }}</button>
|
||||
</form>
|
||||
{% if app.request.server.get('DEMO_MODE') %}
|
||||
{% if app.request.server.get('DEMO_MODE') == 'true' %}
|
||||
{# Demo mode credentials #}
|
||||
<div class="mb-3 text-muted small">
|
||||
<p class="mb-0">{{ 'demomode.credentials.header' | trans }}</p>
|
||||
|
|
Loading…
Reference in New Issue