mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 06:31:22 +00:00
GUAC-961: Add guacFocus directive. Focus password field (and clear it) when login fails.
This commit is contained in:
@@ -38,7 +38,7 @@ THE SOFTWARE.
|
||||
<!-- Login fields (username + password) -->
|
||||
<div class="login-fields">
|
||||
<input ng-model="username" placeholder="{{'LOGIN.FIELD_PLACEHOLDER_USERNAME' | translate}}" type="text" name="username" autofocus="autofocus" autocorrect="off" autocapitalize="off" class="username"/>
|
||||
<input ng-model="password" placeholder="{{'LOGIN.FIELD_PLACEHOLDER_PASSWORD' | translate}}" type="password" name="password" class="password"/>
|
||||
<input ng-model="password" placeholder="{{'LOGIN.FIELD_PLACEHOLDER_PASSWORD' | translate}}" type="password" name="password" class="password" guac-focus="passwordFocused"/>
|
||||
</div>
|
||||
|
||||
<!-- Submit button -->
|
||||
|
Reference in New Issue
Block a user