Password minimum length requirement implemented

main
Inga 🏳‍🌈 14 years ago
parent 221c9a319e
commit 5cbcdd914e
  1. 1
      Common/dataobjects/Account.cs

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

Loading…
Cancel
Save