added basic edit account
- add link in to edit a user in users.html - change to AccountController - update getCreateAccount for change to AccountForm - add getEditAccount - add edit.html - change to Mapping.kt - update AccountForm toAccountRequest to throw exception if password null - add Account Response toAccountForm - change password and passwordConfirm to be null in AccountForm - add PasswordException - add getAccount to AccountRegistryService - add accountRegistryAccount to WebClientCalls.kt
This commit is contained in:
@@ -2,8 +2,8 @@ package ltd.hlaeja.form
|
||||
|
||||
data class AccountForm(
|
||||
val username: String,
|
||||
val password: CharSequence,
|
||||
val passwordConfirm: CharSequence,
|
||||
val role: String,
|
||||
val enabled: Boolean = false,
|
||||
val password: CharSequence? = null,
|
||||
val passwordConfirm: CharSequence? = null,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user