Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Progark gruppe 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Ingebrigt Ørstad
Progark gruppe 3
Commits
edef33e7
Commit
edef33e7
authored
5 years ago
by
Turid Cecilie Dahl
Browse files
Options
Downloads
Patches
Plain Diff
#97
Can't log in as Username
parent
533ff1e0
No related branches found
No related tags found
2 merge requests
!104
Dev
,
!100
Resolve "Last day changes"
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/core/src/com/gameware/game/states/CreateNewTournamentState.java
+1
-1
1 addition, 1 deletion
...rc/com/gameware/game/states/CreateNewTournamentState.java
frontend/core/src/com/gameware/game/states/LoginState.java
+7
-0
7 additions, 0 deletions
frontend/core/src/com/gameware/game/states/LoginState.java
with
8 additions
and
1 deletion
frontend/core/src/com/gameware/game/states/CreateNewTournamentState.java
+
1
−
1
View file @
edef33e7
...
...
@@ -147,7 +147,7 @@ public class CreateNewTournamentState extends State {
innerTable
.
setBackground
(
backgroundTableBlueRounded
);
innerTable
.
add
(
makeRow
(
nameLabel
,
nameDialog
));
nameInputField
.
setMaxLength
(
10
);
nameInputField
.
setMaxLength
(
9
);
innerTable
.
add
(
nameInputField
).
size
(
nameFieldWidth
,
inputFieldHeight
);
innerTable
.
row
();
removeKeyPadAtTouch
();
...
...
This diff is collapsed.
Click to expand it.
frontend/core/src/com/gameware/game/states/LoginState.java
+
7
−
0
View file @
edef33e7
...
...
@@ -216,6 +216,13 @@ public class LoginState extends State {
String
username
=
usernameInputField
.
getText
();
String
password
=
passwordInputField
.
getText
();
//Check if username = Username
if
(
username
.
equals
(
"Username"
)){
errorLabel
.
setText
(
wrongLoginText
);
return
;
}
try
{
Player
player
=
QueryIntermediate
.
loginPlayer
(
username
,
password
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment