summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-03-13 11:03:52 +0100
committerMorris Jobke <morris.jobke@gmail.com>2014-01-15 11:10:12 +0100
commit5c1a9f35f16a8a871bcef24a45478ac92af9a9e1 (patch)
tree040662a510f5466a0b9275fee9724e605e17f4ee /settings/templates
parent34559ef11428c9a2a1b83f8a63d650d1fa0be49e (diff)
downloadnextcloud-server-5c1a9f35f16a8a871bcef24a45478ac92af9a9e1.tar.gz
nextcloud-server-5c1a9f35f16a8a871bcef24a45478ac92af9a9e1.zip
Indicate password strength using strengthify
* uses zxcvbn * outsourced to separate jquery plugin * async loading * hide strength meter if input is empty * feedback if user enters weakest password * fade in and out * show tipsy with strength * Opera 12, IE8-10, FF 23, Chromium 29
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 3eb864655bb..1518b48b979 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -44,6 +44,8 @@ if($_['passwordChangeSupported']) {
placeholder="<?php echo $l->t('New password');?>" data-typetoggle="#personal-show" />
<input type="checkbox" id="personal-show" name="show" /><label for="personal-show"></label>
<input id="passwordbutton" type="submit" value="<?php echo $l->t('Change password');?>" />
+ <br/>
+ <div class="strengthify-wrapper"></div>
</fieldset>
</form>
<?php