Skip to content

Commit

Permalink
Merge pull request #5 from hertg/dev
Browse files Browse the repository at this point in the history
0.1.0
  • Loading branch information
hertg authored Jul 21, 2022
2 parents 35efbcb + fd29a52 commit 82fcdb7
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 36 deletions.
127 changes: 96 additions & 31 deletions 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": "lightdm-neon",
"version": "0.0.1",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "rollup -c",
Expand Down
11 changes: 7 additions & 4 deletions src/utils/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,11 @@ export class Greeter implements GreeterClass {
this.show_prompt._emit("Password: ", 1);
} else {
if (response === this.mock_password) {
this.is_authenticated = true;
this.in_authentication = false;
this.authentication_complete._emit();
setTimeout(() => {
this.is_authenticated = true;
this.in_authentication = false;
this.authentication_complete._emit();
}, 250);
} else {
setTimeout(() => {
this.is_authenticated = false;
Expand All @@ -285,7 +287,8 @@ export class Greeter implements GreeterClass {
return false;
}
start_session(session: string | null): boolean {
console.log("Session:", session ?? this.default_session);
let s = session ?? this.default_session;
alert(`starting '${s}' session`);
return true;
}
}
Expand Down

0 comments on commit 82fcdb7

Please sign in to comment.