Skip to content

Commit

Permalink
GDB-5234: Wrong credentials upon login with valid user (fixed to refe…
Browse files Browse the repository at this point in the history
…r to parent scope regarding username and password model inside ng-if)

Updated version to 1.5.0-TR16.
  • Loading branch information
Pavel Mihaylov committed Nov 17, 2020
1 parent ff87ef3 commit 16c0673
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphdb-workbench",
"version": "1.5.0-TR15",
"version": "1.5.0-TR16",
"description": "The web application for GraphDB APIs",
"scripts": {
"build": "webpack --config=webpack.config.prod.js",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ <h1>Login</h1>
<div class="form-group mb-2" ng-class="wrongCredentials ? 'has-error' : ''">
<div class="input-group">
<span class="input-group-addon" tooltip="Username" tooltip-trigger="mouseenter"><em class="icon-user icon-2x text-muted"></em></span>
<input id="wb-login-username" ng-model="username" placeholder="Your name" type="text" class="form-control form-control-lg" autofocus required ng-blur="wrongCredentials = false">
<input id="wb-login-username" ng-model="$parent.username" placeholder="Your name" type="text" class="form-control form-control-lg" autofocus required ng-blur="wrongCredentials = false">
</div>
</div>
<div class="form-group mb-2" ng-class="wrongCredentials ? 'has-error' : ''">
<div class="input-group">
<span class="input-group-addon" tooltip="Password" tooltip-trigger="mouseenter"><em class="icon-lock icon-2x text-muted"></em></span>
<input id="wb-login-password" type="password" placeholder="Your password" ng-model="password" class="form-control form-control-lg" required ng-blur="wrongCredentials = false">
<input id="wb-login-password" type="password" placeholder="Your password" ng-model="$parent.password" class="form-control form-control-lg" required ng-blur="wrongCredentials = false">
</div>
</div>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion test-cypress/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-cypress/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphdb-workbench-tests",
"version": "1.5.0-TR15",
"version": "1.5.0-TR16",
"description": "Cypress tests for GraphDB workbench",
"scripts": {
"start": "cypress open",
Expand Down

0 comments on commit 16c0673

Please sign in to comment.