Move permission checks for Multifactor forms into checkPermissions()
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 19 Jan 2021 10:16:35 +0000 (11:16 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 19 Jan 2021 10:16:35 +0000 (11:16 +0100)
commit73eb671e977af7dd359dafc99b76ed28ee693df5
tree149299761f079f420e8b6587c06ebe14f294aca9
parent8b4dcd0c4de97c0d16cf40b94f44f3ce07198728
Move permission checks for Multifactor forms into checkPermissions()

This avoids issues with requestReauthentication() being called for guests.

I verified that none of the actual processing happens before the
checkPermissions() check.
wcfsetup/install/files/lib/form/MultifactorDisableForm.class.php
wcfsetup/install/files/lib/form/MultifactorManageForm.class.php