aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorVirtualTam <virtualtam+github@flibidi.net>2018-02-05 18:16:32 +0100
committerGitHub <noreply@github.com>2018-02-05 18:16:32 +0100
commit91f17fc92a7168e2baf1096910b8f44f3a24a8a2 (patch)
tree2c211d422b9d6c27ab341644531913361b6f1024 /tpl
parenta381c373b30ed04001ea31ff5c38e077edacaf18 (diff)
parent44acf706812bc77812e6648c2cc28af36e172a14 (diff)
downloadShaarli-91f17fc92a7168e2baf1096910b8f44f3a24a8a2.tar.gz
Shaarli-91f17fc92a7168e2baf1096910b8f44f3a24a8a2.tar.zst
Shaarli-91f17fc92a7168e2baf1096910b8f44f3a24a8a2.zip
Merge pull request #1008 from virtualtam/refactor/authentication
Refactor login / ban management
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/loginform.html2
-rw-r--r--tpl/vintage/loginform.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html
index 5777a218..d481f452 100644
--- a/tpl/default/loginform.html
+++ b/tpl/default/loginform.html
@@ -5,7 +5,7 @@
5</head> 5</head>
6<body> 6<body>
7{include="page.header"} 7{include="page.header"}
8{if="!ban_canLogin($conf)"} 8{if="!$user_can_login"}
9<div class="pure-g pure-alert pure-alert-error pure-alert-closable center"> 9<div class="pure-g pure-alert pure-alert-error pure-alert-closable center">
10 <div class="pure-u-2-24"></div> 10 <div class="pure-u-2-24"></div>
11 <div class="pure-u-20-24"> 11 <div class="pure-u-20-24">
diff --git a/tpl/vintage/loginform.html b/tpl/vintage/loginform.html
index 1becd44f..2c9b710e 100644
--- a/tpl/vintage/loginform.html
+++ b/tpl/vintage/loginform.html
@@ -2,7 +2,7 @@
2<html> 2<html>
3<head>{include="includes"}</head> 3<head>{include="includes"}</head>
4<body 4<body
5{if="ban_canLogin($conf)"} 5{if="$user_can_login"}
6 {if="empty($username)"} 6 {if="empty($username)"}
7 onload="document.loginform.login.focus();" 7 onload="document.loginform.login.focus();"
8 {else} 8 {else}