Seafdav password in Seafile Pro 13

Good evening, everyone.
I just did a clean installation of Seafile Server Pro 13 with Docker.
I enabled webdav in seafdav.conf and set the webdav password from my account settings.
Important note: I have set up 2FA.
When I use webdav by calling up the service url/seafdav, I log in with my email and account password, not with the password set for the Webdav service.
Furthermore, if I completely delete the webdav password, I still log in with my account password.
This did not happen in version 12.
Is this a bug?

Thanks to anyone who can help me.
Pietro

Hello, this is not a bug.

You can log in to /seafdav either through your account password or the WebDAV password. These two passwords are independent of each other and do not affect each other.

The WebDAV password is a feature developed for single sign on users. Since single sign on users do not have account passwords, they need to generate a WebDAV password on their own to log in to /seafdav.

I’m facing the same problem with Seafile CE 13

Also after a fresh installation and enabled webdav in seafdav.conf, I can’t login with my webdav password it keeps showing “401 Access not authorized”. However I can use my account password to login.

Why can’t webdav password work?

Hello, after some tests, this is a bug in the new Docker installation of version 13. We will fix it in the near future. If you want to fix it temporarily, you can check whether there is any configuration related to DATABASE in conf/seahub_setting.py. If not, you can add it manually to solve this problem temporarily.

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'seahub-db-name',
        'USER': 'mysql-user',
        'PASSWORD': 'mysql-password',
        'HOST': 'mysql-host',
        'PORT': '3306',
        'OPTIONS': {'charset': 'utf8mb4'},
    }
}

Excellent, this workaround works like a charm!!

Thanks @lian for the quick turnaround :heart:

Confirmed. This solution works perfectly
Thank you so much @lian