Fixed password checking in Account.migrate

main
Inga 🏳‍🌈 15 years ago
parent 3c2434a1b1
commit ce26fd73cc
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      Builder/IISUploadHandler/build.txt
  3. 1
      Common/dataobjects/Account.cs

@ -149,6 +149,7 @@ namespace FLocal.Common.dataobjects {
}
public void migrate(string newPassword) {
if(newPassword.Length < 5) throw new FLocalException("Password is too short");
ChangeSetUtil.ApplyChanges(new AbstractChange[] {
new UpdateChange(
TableSpec.instance,

Loading…
Cancel
Save