diff --git a/samples/website_integration/form.php b/samples/website_integration/form.php
index 120d4287..5f2985cb 100644
--- a/samples/website_integration/form.php
+++ b/samples/website_integration/form.php
@@ -17,19 +17,19 @@ $pass = get_from_post_or_empty('password');
$was_successful = false;
if ($user && $pass) {
- require_once('integration.php');
- if (authme_check_password($user, $pass)) {
- printf('
Hello, %s!
', htmlspecialchars($user));
- echo 'Successful login. Nice to have you back!'
- . '
Back to form';
- $was_successful = true;
- } else {
- echo 'Error
Invalid username or password.';
- }
+ require_once('integration.php');
+ if (authme_check_password($user, $pass)) {
+ printf('Hello, %s!
', htmlspecialchars($user));
+ echo 'Successful login. Nice to have you back!'
+ . '
Back to form';
+ $was_successful = true;
+ } else {
+ echo 'Error
Invalid username or password.';
+ }
}
if (!$was_successful) {
- echo 'Login sample
+ echo 'Login sample
This is a demo form for AuthMe website integration. Enter your AuthMe login details
into the following form to test it.