diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-18 18:13:54 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-18 18:13:54 -0400 |
commit | 43cffe282868ff5c32804c34b31baaa1317f5a8e (patch) | |
tree | 36f4514e54c28a3e6e7b3b90683b5bed14c49c4a /app/Template | |
parent | 2f3563714b4f293516af46a23779cb24327be363 (diff) |
Remove useless class and add new plugin hooks
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/auth/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php index 2ffc53cb..2f75b113 100644 --- a/app/Template/auth/index.php +++ b/app/Template/auth/index.php @@ -1,5 +1,7 @@ <div class="form-login"> + <?= $this->hook->render('template:auth:login-form:before') ?> + <?php if (isset($errors['login'])): ?> <p class="alert alert-error"><?= $this->e($errors['login']) ?></p> <?php endif ?> @@ -31,6 +33,8 @@ </form> <?php endif ?> + <?= $this->hook->render('template:auth:login-form:after') ?> + <?php if (GOOGLE_AUTH || GITHUB_AUTH || GITLAB_AUTH): ?> <ul class="no-bullet"> <?php if (GOOGLE_AUTH): ?> |