Skip to content

Commit c464177

Browse files
committed
Change username and password to max length of 256
Per comment from StackStorm/st2#5279, max length of username for htpasswd and linux system can be up to 256.
1 parent 401f7d1 commit c464177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/st2-login/login.component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ export default class Login extends React.Component {
219219
placeholder="Username"
220220
required
221221
value={this.state.username}
222-
maxLength="120"
222+
maxLength="256"
223223
onChange={({ target: { value: username } }) => this.setState({ username })}
224224
/>
225225
</LoginRow>
@@ -231,7 +231,7 @@ export default class Login extends React.Component {
231231
placeholder="Password"
232232
required
233233
value={this.state.password}
234-
maxLength="120"
234+
maxLength="256"
235235
onChange={({ target: { value: password } }) => this.setState({ password })}
236236
/>
237237
</LoginRow>

0 commit comments

Comments
 (0)