Skip to content

Commit

Permalink
update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
liesauer committed Sep 28, 2017
1 parent bda61ba commit 8fac71c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ $username = $ql->simpleForm('https://github.com/login', '', [
])->find('.header-nav-current-user>.css-truncate-target')->text();

if (!empty($username)) {
echo "welcome back, {$username}!";
echo "welcome back, {$username}!\n";
} else {
echo 'login failed.';
$error = $ql->find('.flash-error>.container')->text();
echo "{$error}\n";
}
```

0 comments on commit 8fac71c

Please sign in to comment.