diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-13 21:12:22 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-15 21:43:09 +0100 |
commit | 7cab7feb38b0456ac923869e7dad5976d2ab874a (patch) | |
tree | 168e55891fd61947b2361381f7b02fe36541982b /core/templates | |
parent | 2997bb9c699c5d59e42637b91ac6614690c6da3d (diff) | |
download | nextcloud-server-7cab7feb38b0456ac923869e7dad5976d2ab874a.tar.gz nextcloud-server-7cab7feb38b0456ac923869e7dad5976d2ab874a.zip |
Display message when connection is throttled on logi page
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/login.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/templates/login.php b/core/templates/login.php index de991e08d97..3452622907e 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -62,6 +62,12 @@ script('core', 'merged-login'); </p> <?php } ?> + <?php if ($_['throttle_delay'] > 5000) { ?> + <p class="warning throttledMsg"> + <?php p($l->t('We have detected multiple invalid login attempts from your ip. Because of this we throttle your connection. Login can take up to 30 seconds.')); ?> + </p> + <?php } ?> + <?php if (!empty($_['canResetPassword'])) { ?> <div id="reset-password-wrapper" style="display: none;"> <input type="submit" id="reset-password-submit" class="login primary" title="" value="<?php p($l->t('Reset password')); ?>" disabled="disabled" /> |