Bug in e-mail checking in reset-admin.sh

I tried to use an e-mail address with a geographic TLD as admin account in seafile-server-6.0.9. I live in Hamburg/Germany and my e-mail address is something like wolle@example.hamburg . If I enter it in reset-admin.sh the result is:
Error: That e-mail address is invalid.

reset-admin.sh checks the TLD for having 2-6 characters which is way too short.

1 Like