Commit 83a2ea29 authored by ls1947's avatar ls1947
Browse files

set maxlength on ssh key field

parent 5b781af2
......@@ -95,7 +95,7 @@
<h:outputText for="@next" value="#{messages.ssh_key}:"/>
<p:outputPanel>
<p:inputTextarea id="keyInputArea" value="#{userSshKeyManagementBean.newKey}"
style="width: 400px; height: 100px;" autoResize="false">
style="width: 400px; height: 100px;" autoResize="false" maxlength="8128">
<f:validator validatorId="edu.kit.SshKeyValidator"/>
<p:ajax update="keyInputMessage" event="keyup" />
</p:inputTextarea>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment