Add the new variable `FileProcessorFormField::$bigPreview` with getter and setter.
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / newPassword.tpl
CommitLineData
370c8f02 1{include file='authFlowHeader'}
320f4a6d 2
a14d7068 3<woltlab-core-notice type="info">{lang}wcf.user.newPassword.info{/lang}</woltlab-core-notice>
5f6542f1 4
370c8f02
MW
5{@$form->getHtml()}
6
7<script data-relocate="true">
8 require(['WoltLabSuite/Core/Ui/User/PasswordStrength', 'Language'], (PasswordStrength, Language) => {
b54fdcc0 9 {include file='shared_passwordStrengthLanguage'}
320f4a6d 10
370c8f02
MW
11 new PasswordStrength(document.getElementById('newPassword'), {
12 staticDictionary: [
13 '{$user->username|encodeJS}',
14 '{$user->email|encodeJS}',
15 ]
16 });
17 })
18</script>
320f4a6d 19
370c8f02 20{include file='authFlowFooter'}