You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the shared link password minimum limit is hard coded in the shared link dialog. This poses a problem when the server's minimum password limit is changed to a higher number. In such cases, if a user attempts to create a shared link with a password that is lower than the server limit, no error handling is triggered, and nothing happens.
QLabel *password_label = new QLabel(tr("Password(At least 8 characters)"));
The best way would be to retrieve the minimum password limit from the server dynamically if possible, so that the user knows why nothing happens when they have typed a password that is lower than the set minimum.
The text was updated successfully, but these errors were encountered:
ThatLurker
changed the title
shared link password limit is hard coded
shared link password length limit is hard coded
May 24, 2023
Currently, the shared link password minimum limit is hard coded in the shared link dialog. This poses a problem when the server's minimum password limit is changed to a higher number. In such cases, if a user attempts to create a shared link with a password that is lower than the server limit, no error handling is triggered, and nothing happens.
https://github.com/haiwen/seafile-client/blob/master/src/filebrowser/sharedlink-dialog.cpp#L24
The best way would be to retrieve the minimum password limit from the server dynamically if possible, so that the user knows why nothing happens when they have typed a password that is lower than the set minimum.
The text was updated successfully, but these errors were encountered: