| | |
| | | return;
|
| | | }
|
| | |
|
| | | // change the cookie
|
| | | userModel.cookie = StringUtils.getSHA1(userModel.username + password);
|
| | |
|
| | | // Optionally store the password MD5 digest.
|
| | | String type = app().settings().getString(Keys.realm.passwordStorage, "md5");
|
| | | if (type.equalsIgnoreCase("md5")) {
|
| | |
| | | form.add(new CheckBox("canFork").setEnabled(app().settings().getBoolean(Keys.web.allowForking, true)));
|
| | | form.add(new CheckBox("canCreate"));
|
| | | form.add(new CheckBox("excludeFromFederation"));
|
| | | form.add(new CheckBox("disabled"));
|
| | |
|
| | | form.add(new RegistrantPermissionsPanel("repositories", RegistrantType.REPOSITORY, repos, permissions, getAccessPermissions()));
|
| | | form.add(teams.setEnabled(editTeams));
|
| | |
|