Rename TOTP code form field to `onetimecode`
authorjoshuaruesweg <ruesweg@woltlab.com>
Sun, 11 Jul 2021 09:28:07 +0000 (11:28 +0200)
committerjoshuaruesweg <ruesweg@woltlab.com>
Sun, 11 Jul 2021 09:28:07 +0000 (11:28 +0200)
commit2e2ad28bc9dc3009d5677df4799987a6a7cc901b
tree8bad4e4fc5f1b9dd57c94ae712abca6b66085d01
parenta97e368cf9f6a6d4ae7b307c310c40c5ec00022d
Rename TOTP code form field to `onetimecode`

The name `code` for the form field is too generic and should be specified. `onetimecode` is a more fitting identifier for the input name. In addition, 1password fills the totp code automatically, if the field is named `onetimecode` (See https://1password.community/discussion/comment/604200/#Comment_604200).
wcfsetup/install/files/lib/system/user/multifactor/TotpMultifactorMethod.class.php
wcfsetup/install/files/lib/system/user/multifactor/totp/CodeFormField.class.php