summaryrefslogtreecommitdiff
path: root/templates/webmail
diff options
context:
space:
mode:
Diffstat (limited to 'templates/webmail')
-rw-r--r--templates/webmail/about.html.ep1
-rw-r--r--templates/webmail/login.html.ep3
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/webmail/about.html.ep b/templates/webmail/about.html.ep
index a5cd4a7..15e35ab 100644
--- a/templates/webmail/about.html.ep
+++ b/templates/webmail/about.html.ep
@@ -38,7 +38,6 @@
and currently maintained by
<a href="mailto:jannis@fehcom.de">Jannis M. Hoffmann</a>
</p>
-
<p>
<h3>Supported languages</h3>
diff --git a/templates/webmail/login.html.ep b/templates/webmail/login.html.ep
index 54ab40a..378ac05 100644
--- a/templates/webmail/login.html.ep
+++ b/templates/webmail/login.html.ep
@@ -1,6 +1,7 @@
% layout 'mainlayout';
-% my $uses_cram = config->{session}{secure} eq 'cram';
+% use JWebmail::Config;
+% my $uses_cram = JWebmail::Config::LOGIN_SCHEME eq fc 'cram_md5';
<section class=section>
<div class="container is-max-desktop box">