diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-06-27 14:23:20 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-06-27 14:23:20 +0000 |
| commit | 84fa046d1a75fb1dd15de88850b6c8f3ea89a152 (patch) | |
| tree | 2d70ffaf4fd56b671ac4b805e4d8459721cdeadd /app/controllers/admin/user.php | |
| parent | 9f60e208ce3e30e6db380275ed5de9d2c35f57a7 (diff) | |
fixes #2755
Closes #2755
Merge request studip/studip!1864
Diffstat (limited to 'app/controllers/admin/user.php')
| -rw-r--r-- | app/controllers/admin/user.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/admin/user.php b/app/controllers/admin/user.php index 960fc50..8932f48 100644 --- a/app/controllers/admin/user.php +++ b/app/controllers/admin/user.php @@ -440,6 +440,8 @@ class Admin_UserController extends AuthenticatedController if ( $GLOBALS['perm']->have_perm('root') && Config::get()->ALLOW_ADMIN_USERACCESS + && !StudipAuthAbstract::CheckField('auth_user_md5.password', $this->user->auth_plugin) + && $this->user->auth_plugin !== null && (Request::get('pass_1') !== '' || Request::get('pass_2') !== '') ) { if (Request::get('pass_1') === Request::get('pass_2')) { |
