summaryrefslogtreecommitdiff
path: root/templates/webmail/login.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/webmail/login.html.ep')
-rw-r--r--templates/webmail/login.html.ep3
1 files changed, 2 insertions, 1 deletions
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">