промежуточный. проверка пользователя по ключу
This commit is contained in:
@@ -13,8 +13,6 @@ public class ConfirmEmail extends ComponentsServerPass<UserAccount> {
|
||||
String password;
|
||||
UserAccountDialog f = new UserAccountDialog() {
|
||||
{
|
||||
fields.tfName.setText(Global.normalProperties.Email);
|
||||
fields.tfAddress.setText(Global.normalProperties.Email);
|
||||
fields.cbRole.setEnabled(false);
|
||||
}
|
||||
};
|
||||
@@ -27,7 +25,7 @@ public class ConfirmEmail extends ComponentsServerPass<UserAccount> {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
target = new UserAccount(); // объект для заполнения полей.не более.
|
||||
target = (UserAccount) args[0]; // объект для заполнения полей.не более.
|
||||
password = null;
|
||||
if (f.ShowDialog("Регистрация", target)) {
|
||||
if (!Utils_.validateEmail(target.email, Log)) {
|
||||
|
||||
Reference in New Issue
Block a user